pandas.core.groupby.GroupBy.backfill¶
-
GroupBy.backfill(limit=None)[source]¶ Backward fill the values.
- Parameters
- limitint, optional
Limit of how many values to fill.
- Returns
- Series or DataFrame
Object with missing values filled.
See also
Series.backfillBackward fill the missing values in the dataset.
DataFrame.backfillBackward fill the missing values in the dataset.
Series.fillnaFill NaN values of a Series.
DataFrame.fillnaFill NaN values of a DataFrame.