Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.expanding_max

pandas.expanding_max(arg, min_periods=1, freq=None, **kwargs)

Moving max of 1d array of dtype=float64 along axis=0 ignoring NaNs. Expanding maximum.

Parameters:

arg : Series, DataFrame

min_periods : int, default None

Minimum number of observations in window required to have a value (otherwise result is NA).

freq : string or DateOffset object, optional (default None)

Frequency to conform the data to before computing the statistic. Specified as a frequency string or DateOffset object.

Returns:

y : type of input argument