modin.pandas.Series.cummax¶
- Series.cummax(axis=None, skipna=True, *args, **kwargs) Self[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/.tox/docs/lib/python3.9/site-packages/modin/pandas/base.py#L1328-L1343)¶
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’.