class SeriesGroupBy {

    public <R> Series<R> agg(SeriesAggregator<? super T, R> aggregator) {
        return SeriesAggregation.aggGroupBy(this, aggregator);
    }

    public  SeriesGroupBy(Series<T> ungrouped, Map<Object, IntSeries> groupsIndex);

}