pandas.core.groupby.GroupBy.max

GroupBy.max(self, **kwargs)[source]

Compute max of group values.

Returns
Series or DataFrame

Computed max of values within each group.