Pandas Series: cummin() function
Cumulative minimum over a Pandas DataFrame or Series axis
The cummin() function is used to get cumulative minimum over a DataFrame or Series axis.
Returns a DataFrame or Series of the same size containing the cumulative minimum.
Syntax:
Series.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: scalar or Series
Example:
Download the Pandas Series Notebooks from here.
Previous: Cumulative maximum over a Pandas DataFrame or Series axis
Next: Cumulative product of a Pandas series
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework