Compute a summary statistic about each group.
grouped.describe()
grouped.sum()
Apply multiple functions at once.
grouped['baz'].agg(['count', 'sum', 'mean', 'min', 'max'])
Apply different aggregation to the columns of a dataframe.
grouped.agg({'baz': 'sum', 'qux': 'sum'})