pandas / 1.4.0 / reference / api / pandas.core.resample.resampler.pad.html /

pandas.core.resample.Resampler.pad

Resampler. pad ( limit=None ) [source]

Forward fill the values.

Parameters
limit :int, optional

Limit of how many values to fill.

Returns
An upsampled Series.

See also

Series.fillna

Fill NA/NaN values using the specified method.

DataFrame.fillna

Fill NA/NaN values using the specified method.

© 2008–2022, 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/1.4.0/reference/api/pandas.core.resample.Resampler.pad.html