pd.core.groupby.Groupby.agg¶
pandas.core.groupby.Groupby.agg(func, *args, **kwargs)
Supported Arguments¶
func: JIT function, callable defined within a JIT function, constant dictionary mapping column name to a function- Additional arguments for 
funccan be passed as additional arguments. 
Note
- Passing a list of functions is also supported if only one output column is selected.
 - Output column names can be specified using keyword arguments and 
pd.NamedAgg().