pandas.api.typing.DataFrameGroupBy.cummin

pandas 3.1.1 · GroupBy · method

Track the smallest value encountered up to each position.

Call syntax

pd.api.typing.DataFrameGroupBy.cummin(numeric_only=False, skipna=True, **kwargs)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
numeric_only Optional
Positional or keyword
Default False
bool

Restrict the calculation to columns pandas considers numeric where applicable.

skipna Optional
Positional or keyword
Default True
bool

Choose whether to exclude missing values during the calculation.

**kwargs Optional
Additional keyword arguments

Returns

Series or DataFrame