MMMIDataWrapper.aggregate_time#
- MMMIDataWrapper.aggregate_time(period, method='sum')[fuente]#
Aggregate data over time periods.
Delegates to standalone
aggregate_idata_timeutility 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:
MMMIDataWrapperNew wrapper with aggregated idata