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

Method _simplify_up

dask/dataframe/dask_expr/_expr.py:2588–2592  ·  view source on GitHub ↗
(self, parent, dependents)

Source from the content-addressed store, hash-verified

2586 )
2587
2588 def _simplify_up(self, parent, dependents):
2589 from dask.dataframe.dask_expr import Repartition
2590
2591 if isinstance(parent, Repartition) and parent.new_partitions == 1:
2592 return self
2593
2594 def _lower(self):
2595 if not isinstance(self, BlockwiseHead):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected