pandas 0.9.0 documentation

pandas.Series.cummax

Series.cummax(axis=0, dtype=None, out=None, skipna=True)

Cumulative max of values. Preserves locations of NaN values

Extra parameters are to preserve ndarray interface.

Parameters :

skipna : boolean, default True

Exclude NA/null values

Returns :

cummax : Series