MMMIDataWrapper.aggregate_time#

MMMIDataWrapper.aggregate_time(period, method='sum')[fuente]#

Aggregate data over time periods.

Delegates to standalone aggregate_idata_time utility function.

Parameters:
period{«original», «weekly», «monthly», «quarterly», «yearly», «all_time»}

Time period to aggregate to. Use «original» for no aggregation.

method{«sum», «mean»}, default «sum»

Aggregation method

Returns:
MMMIDataWrapper

New wrapper with aggregated idata