pandas.core.resample.Resampler.mean#

Resampler.mean(numeric_only=False, *args, **kwargs)[source]#

Compute mean of groups, excluding missing values.

Parameters
numeric_onlybool, default False

Include only float, int or boolean data.

Changed in version 2.0.0: numeric_only now defaults to False.

Returns
DataFrame or Series

Mean of values within each group.