pandas / 1 / reference / api / pandas.series.ffill.html

pandas.Series.ffill

Series.ffill(axis=None, inplace=False, limit=None, downcast=None)[source]

Synonym for DataFrame.fillna() with method='ffill'.

Returns
Series/DataFrame or None

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

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.Series.ffill.html