pandas.core.groupby.GroupBy.cummax

GroupBy.cummax(self, axis=0, **kwargs)[source]

Cumulative max for each group.

Returns:
Series or DataFrame

See also

Series.groupby
DataFrame.groupby
Scroll To Top