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

Method _simplify_down

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

Source from the content-addressed store, hash-verified

2358 return (None, None)
2359
2360 def _simplify_down(self):
2361 if isinstance(self.frame, Elemwise):
2362 child = max(self.frame.dependencies(), key=lambda expr: expr.npartitions)
2363 return Lengths(child)
2364
2365 def _layer(self):
2366 name = "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