, min_count=0, *args, **kwargs)[source]#

Compute {fname} of group values.

numeric_onlybool, default {no}

Include only float, int, boolean columns.

Changed in version 2.0.0: numeric_only no longer accepts None.

min_countint, default {mc}

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.

Series or DataFrame

Computed {fname} of values within each group.