W3cubDocs

/pandas 0.23

pandas.core.resample.Resampler.nearest

Resampler.nearest(limit=None) [source]

Fill values with nearest neighbor starting from center

Parameters:

limit : integer, optional

limit of how many values to fill

New in version 0.21.0.

Returns:
an upsampled Series

See also

Series.fillna, DataFrame.fillna

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.core.resample.Resampler.nearest.html