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

Method _simplify_down

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

Source from the content-addressed store, hash-verified

2362 return (None, None)
2363
2364 def _simplify_down(self):
2365 if isinstance(self.frame, Elemwise):
2366 child = max(self.frame.dependencies(), key=lambda expr: expr.npartitions)
2367 return Lengths(child)
2368
2369 def _layer(self):
2370 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