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

Method chunk

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

Source from the content-addressed store, hash-verified

800
801 @classmethod
802 def chunk(cls, df, **kwargs):
803 out = cls.reduction_chunk(df, **kwargs)
804 # Return a dataframe so that the concatenated version is also a dataframe
805 return out.to_frame().T if is_series_like(out) else out
806
807 @classmethod
808 def combine(cls, inputs: list, **kwargs): # type: ignore

Callers 3

_meta_chunkMethod · 0.45
_metaMethod · 0.45
_metaMethod · 0.45

Calls 3

is_series_likeFunction · 0.85
reduction_chunkMethod · 0.45
to_frameMethod · 0.45

Tested by

no test coverage detected