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

Class AlignGetitem

dask/dataframe/dask_expr/_expr.py:1201–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

alignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected