Resampler.aggregate()

pandas.tseries.resample.Resampler.aggregate

Resampler.aggregate(arg, *args, **kwargs)

Apply aggregation function or functions to resampled groups, yielding most likely Series but in some cases DataFrame depending on the output of the aggregation function

Parameters:

func_or_funcs : function or list / dict of functions

List/dict of functions will produce DataFrame with column names determined by the function names themselves (list) or the keys in the dict

Returns:

Series or Da