pandas / 0.25.0 / reference / api / pandas.core.groupby.dataframegroupby.bfill.html /

pandas.core.groupby.DataFrameGroupBy.bfill

DataFrameGroupBy.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

© 2008–2012, 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/0.25.0/reference/api/pandas.core.groupby.DataFrameGroupBy.bfill.html