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

Method chunk

dask/dataframe/dask_expr/_reductions.py:861–865  ·  view source on GitHub ↗
(cls, df, **kwargs)

Source from the content-addressed store, hash-verified

859
860 @classmethod
861 def chunk(cls, df, **kwargs):
862 func = kwargs.pop("func")
863 out = func(df, **kwargs)
864 # Return a dataframe so that the concatenated version is also a dataframe
865 return out.to_frame().T if is_series_like(out) else out
866
867 @classmethod
868 def combine(cls, inputs: list, **kwargs):

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected