pandas.DataFrame.bfill

DataFrame.bfill(self: ~ FrameOrSeries, axis=None, inplace: bool = False, limit=None, downcast=None) → Union[~FrameOrSeries, NoneType][source]

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

Returns
%(klass)s or None

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