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

Method combine

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

Source from the content-addressed store, hash-verified

868
869 @classmethod
870 def combine(cls, inputs: list, **kwargs): # type: ignore
871 func = kwargs.pop("func")
872 df = _concat(inputs)
873 out = func(df, **kwargs)
874 # Return a dataframe so that the concatenated version is also a dataframe
875 return out.to_frame().T if is_series_like(out) else out
876
877 @classmethod
878 def aggregate(cls, inputs, **kwargs):

Callers

nothing calls this directly

Calls 5

_concatFunction · 0.90
is_series_likeFunction · 0.85
popMethod · 0.80
funcFunction · 0.50
to_frameMethod · 0.45

Tested by

no test coverage detected