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

modin.pandas.Series.pad

Series.pad(*, axis=None, inplace=False, limit=None, downcast=_NoDefault.no_default)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/../../../../../opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/modin/pandas/base.py#L1647-L1661)

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().

语言: 中文