pandas.api.typing.Resampler.ffill
pandas 3.1.1 · Resampling · method
Fill gaps introduced by upsampling with earlier observations.
Call syntax
pd.api.typing.Resampler.ffill(limit=None)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
limit |
Optional Positional or keyword Default None |
int Set a maximum number of items affected by the operation. |
Returns
Series