Resampling — pandas 0.24.0rc1 documentation (original) (raw)

Computations / Descriptive Stats

Resampler.count([_method]) Compute count of group, excluding missing values.
Resampler.nunique([_method]) Returns number of unique elements in the group
Resampler.first([_method]) Compute first of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.last([_method]) Compute last of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.max([_method]) Compute max of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.mean([_method]) Compute mean of groups, excluding missing values.
Resampler.median([_method]) Compute median of groups, excluding missing values.
Resampler.min([_method]) Compute min of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.ohlc([_method]) Compute sum of values, excluding missing values.
Resampler.prod([_method, min_count]) Compute prod of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.size() Compute group sizes.
Resampler.sem([_method]) Compute standard error of the mean of groups, excluding missing values.
Resampler.std([ddof]) Compute standard deviation of groups, excluding missing values.
Resampler.sum([_method, min_count]) Compute sum of group values See Also ——– pandas.Series.groupby pandas.DataFrame.groupby pandas.Panel.groupby
Resampler.var([ddof]) Compute variance of groups, excluding missing values.
Resampler.quantile([q]) Return value at the given quantile.