pandas.api.typing.Rolling.max
pandas 3.1.1 · Window operations · method
Find the largest value in the selection, group or window.
Call syntax
pd.api.typing.Rolling.max(numeric_only=False, *args, engine=None, engine_kwargs=None, **kwargs)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
numeric_only |
Optional Positional or keyword Default False |
bool Restrict the calculation to columns pandas considers numeric where applicable. |
*args |
Optional Additional positional arguments |
|
engine |
Optional Keyword only Default None |
str Choose the implementation that performs the operation. |
engine_kwargs |
Optional Keyword only Default None |
dict Pass a dictionary of options to the selected engine. |
**kwargs |
Optional Additional keyword arguments |
Returns
Series or DataFrame