pandas.core.window.expanding.Expanding.max

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

Calculate the expanding 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.expanding

Calling object with Series data.

pandas.DataFrame.expanding

Calling object with DataFrame data.

pandas.Series.max

Similar method for Series.

pandas.DataFrame.max

Similar method for DataFrame.