You are viewing documentation about an older version (1.22.1). View latest version

modin.pandas.Series.pad¶

Series.pad(*, axis=None, inplace=False, limit=None, downcast=_NoDefault.no_default)[source]¶

Fill NA/NaN values by propagating the last valid observation to next valid.

Returns:

Object with missing values filled or None if inplace=True.

Return type:

Series/DataFrame or None

Examples

Please see examples for DataFrame.ffill() or Series.ffill().