pandas.Series.ffill

Series.ffill(axis=None, inplace: bool = False, limit=None, downcast=None) → Optional[FrameOrSeries][source]

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

Returns
%(klass)s or None

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