pandas.core.resample.Resampler.backfill

Resampler.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, DataFrame

An upsampled Series or DataFrame with backward filled NaN values.