MCPcopy Create free account
hub / github.com/dask/dask / AlignGetitem

Class AlignGetitem

dask/dataframe/dask_expr/_expr.py:1198–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196
1197
1198class AlignGetitem(Blockwise):
1199 _parameters = ["frame", "position"]
1200 operation = operator.getitem
1201 _preserves_partitioning_information = True
1202
1203 @functools.cached_property
1204 def _meta(self):
1205 return self.frame._meta[self.position]
1206
1207 def _divisions(self):
1208 return self.frame.divisions
1209
1210
1211class ScalarToSeries(Blockwise):

Callers 1

alignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected