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

Method _simplify_up

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

Source from the content-addressed store, hash-verified

2694 return Tail(self.frame.frame, min(self.n, self.frame.n))
2695
2696 def _simplify_up(self, parent, dependents):
2697 from dask.dataframe.dask_expr import Repartition
2698
2699 if isinstance(parent, Repartition) and parent.new_partitions == 1:
2700 return self
2701
2702 def _lower(self):
2703 if not isinstance(self, BlockwiseTail):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected