dask.dataframe.groupby.DataFrameGroupBy.sum

DataFrameGroupBy.sum(split_every=None, split_out=1, min_count=None)

Compute sum of group values.

This docstring was copied from pandas.core.groupby.groupby.GroupBy.sum.

Some inconsistencies with the Dask version may exist.

Parameters
numeric_onlybool, default True (Not supported in Dask)

Include only float, int, boolean columns. If None, will attempt to use everything, then use only numeric data.

min_countint, default 0

The required number of valid values to perform the operation. If fewer than min_count non-NA values are present the result will be NA.

Returns
Series or DataFrame

Computed sum of values within each group.