agg
Also written: .agg(), aggregate
Builds a summary table with several named results per group. Each keyword is a new column name set to a (column, calculation) tuple, such as `sales=("total", "sum")`.
Also written: .agg(), aggregate
Builds a summary table with several named results per group. Each keyword is a new column name set to a (column, calculation) tuple, such as `sales=("total", "sum")`.