Pandas DataFrame: cummin() function
DataFrame - cummin() function
The cummin() function returns cumulative minimum over a DataFrame or Series axis.
Syntax:DataFrame.cummin(self, axis=None, skipna=True, *args, **kwargs)
Parameters:
Name | Description | Type/Default Value | Required / Optional |
---|---|---|---|
axis | The index or the name of the axis. 0 is equivalent to None or ‘index’. | {0 or ‘index’, 1 or ‘columns’} Default Value: 0 |
Required |
skipna | Exclude NA/null values. If an entire row/column is NA, the result will be NA. | boolean Default Value: True |
Required |
*args, **kwargs : | Additional keywords have no effect but might be accepted for compatibility with NumPy. | Required |
Returns: Series or DataFrame
Example:
Download the Pandas DataFrame Notebooks from here.
Previous: DataFrame - cummax() function
Next: DataFrame - cumprod() function
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/pandas/dataframe/dataframe-cummin.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics