bach.Series.agg
agg
(func, group_by=None, *args, **kwargs)Apply one or more aggregation functions to this Series.
Parameters
func
(Union[str, Callable, List[Union[Callable, str]]]) – the aggregation function to look for on all series. See GroupBy.agg() for supported argumentsgroup_by
(GroupBy) – the group_by to use, or aggregation over full base_node if Noneargs
– Positional arguments to pass through to the aggregation functionkwargs
– Keyword arguments to pass through to the aggregation function
Returns
Aggregated Series, or DataFrame if multiple series are returned