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

Class AlignGetitem

dask/dataframe/dask_expr/_expr.py:1202–1212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

alignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected