decimalGroupAgg

fnSeries decimalGroupAgg(string agg)(string outName, Series col, size_t[][] groupRows)

The per-group decimal aggregation over group row lists: sum (the checked row-order fold), min/max (coefficient compare - one scale per column), first/last (the first/last row when valid, else null), count (valid rows). One DECIMAL slot per group (count: one uint slot).

Parameters

agg"sum", "min", "max", "first", "last" or "count"
outNamethe output column name
colthe DECIMAL value column
groupRowsthe per-group row lists

Returns

the aggregated Series.

Throws

DataFrameException on a group's sum overflow.