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

Method aggregate

dask/dataframe/dask_expr/_reductions.py:1436–1441  ·  view source on GitHub ↗
(cls, inputs, **kwargs)

Source from the content-addressed store, hash-verified

1434
1435 @classmethod
1436 def aggregate(cls, inputs, **kwargs):
1437 func = cls.reduction_aggregate or cls.reduction_chunk
1438 if is_scalar(inputs[-1]):
1439 return func(_concat(inputs[:-1]), inputs[-1], observed=True, **kwargs)
1440 else:
1441 return func(_concat(inputs), observed=True, **kwargs)
1442
1443 @property
1444 def shuffle_by_index(self):

Callers

nothing calls this directly

Calls 3

is_scalarFunction · 0.90
_concatFunction · 0.90
funcFunction · 0.50

Tested by

no test coverage detected