pandas.core.groupby.DataFrameGroupBy.backfill

DataFrameGroupBy.backfill(limit=None)[source]

Backward fill the values.

Deprecated since version 1.4: Use bfill instead.

Parameters:
limitint, optional

Limit of how many values to fill.

Returns:
Series or DataFrame

Object with missing values filled.