TimeSelection.agg
='last', events='sum') time.TimeSelection.agg(compartments
Aggregates the time series using the specified methods.
Paramters
compartments : Literal[“sum”, “max”, “min”, “mean”, “median”, “last”, “first”], default=“last” The method to use to aggregate compartment values. events : Literal[“sum”, “max”, “min”, “mean”, “median”, “last”, “first”], default=“sum” The method to use to aggregate event values.
Returns
TimeAggregation
-
The aggregation strategy object.