pandas.core.window.rolling.Rolling.max

Rolling.max(*args, **kwargs)[source]

Calculate the rolling maximum.

Parameters
*args, **kwargs

Arguments and keyword arguments to be passed into func.

Returns
Series or DataFrame

Return type is determined by the caller.

See also

pandas.Series.rolling

Calling object with Series data.

pandas.DataFrame.rolling

Calling object with DataFrame data.

pandas.Series.max

Similar method for Series.

pandas.DataFrame.max

Similar method for DataFrame.