pandas.core.groupby.GroupBy.max

GroupBy.max(**kwargs)[source]

Compute max of group values.

Returns
Series or DataFrame

Computed max of values within each group.