pandas.api.typing.Resampler.bfill

pandas 3.1.1 · Resampling · method

Fill gaps introduced by upsampling with later observations.

Call syntax

pd.api.typing.Resampler.bfill(limit=None)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
limit Optional
Positional or keyword
Default None
int

Set a maximum number of items affected by the operation.

Returns

Series, DataFrame