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

Method aggregate

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

Source from the content-addressed store, hash-verified

1432
1433 @classmethod
1434 def aggregate(cls, inputs, **kwargs):
1435 func = cls.reduction_aggregate or cls.reduction_chunk
1436 if is_scalar(inputs[-1]):
1437 return func(_concat(inputs[:-1]), inputs[-1], observed=True, **kwargs)
1438 else:
1439 return func(_concat(inputs), observed=True, **kwargs)
1440
1441 @property
1442 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