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

Method _simplify_down

dask/dataframe/dask_expr/_expr.py:2380–2383  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2378 return (None, None)
2379
2380 def _simplify_down(self):
2381 if isinstance(self.frame, Elemwise):
2382 child = max(self.frame.dependencies(), key=lambda expr: expr.npartitions)
2383 return Lengths(child)
2384
2385 def _layer(self):
2386 name = f"part-{self._name}"

Callers

nothing calls this directly

Calls 3

maxFunction · 0.85
LengthsClass · 0.85
dependenciesMethod · 0.45

Tested by

no test coverage detected