Cumulative max for each group.
See also
Series.groupby
DataFrame.groupby
pandas.core.groupby.GroupBy.cumcount
pandas.core.groupby.GroupBy.cummin