pandas.core.window.rolling.Rolling.max

Rolling.max(self, *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

Series.rolling

Series rolling.

DataFrame.rolling

DataFrame rolling.