pandas.core.groupby.GroupBy.bfill

GroupBy.bfill(self, limit=None)[source]

Backward fill the values.

Parameters:
limit : integer, optional

limit of how many values to fill

Returns:
Series or DataFrame

Object with missing values filled.

See also

Series.backfill
DataFrame.backfill
Series.fillna
DataFrame.fillna
Scroll To Top