modin.pandas.Series.cummax¶
- Series.cummax(axis=None, skipna=True, *args, **kwargs) Self[source]¶
Return cumulative maximum over a BasePandasDataset axis.
- Parameters:
axis ({0 or 'index', 1 or 'columns'}, default 0) – The index or the name of the axis. 0 is equivalent to None or ‘index’. For Series this parameter is unused and defaults to 0.
skipna (bool, default True) – Exclude NA/null values. If an entire row/column is NA, the result will be NA.
*args – Additional keywords have no effect but might be accepted for compatibility with NumPy.
**kwargs – Additional keywords have no effect but might be accepted for compatibility with NumPy.
- Returns:
Return cumulative maximum of Series or DataFrame.
- Return type:
Examples
Series
By default, NA values are ignored.
To include NA values in the operation, use skipna=False:
DataFrame
By default, iterates over rows and finds the maximum in each column. This is equivalent to axis=None or axis=’index’.