MCPcopy Index your code
hub / github.com/dask/dask / _SetPartitionsPreSetIndex

Class _SetPartitionsPreSetIndex

dask/dataframe/dask_expr/_shuffle.py:1204–1212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202
1203
1204class _SetPartitionsPreSetIndex(Blockwise):
1205 _parameters = ["frame", "new_divisions", "ascending", "na_position"]
1206 _defaults = {"ascending": True, "na_position": "last"}
1207 operation = staticmethod(set_partitions_pre)
1208 _is_length_preserving = True
1209
1210 @functools.cached_property
1211 def _meta(self):
1212 return make_meta(self.frame._meta._constructor([0]))
1213
1214
1215class _SetIndexPost(Blockwise):

Callers 2

_lowerMethod · 0.85
_lowerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…