Aggregates an input series using the given operator. The shape of the aggregation (rolling time window,
rolling point-count window, or group by) is selected via the AggregationBuilder union.
The operator needs to be compatible with the input series, producing a numeric output (e.g., count works for
any type of input series whereas SUM only works for numeric series).