Join GitHub today
Resample nearest #17496
pandas supports "pad" (forward fill) and "backfill" upsampling, but not "nearest" upsampling. This could be a nice feature to have, and should be pretty easy, too, as the underlying
Possibly this would be as easy as adding only a few lines to the
Obviously this needs tests and documentation. Potetially this could be a good project for a new contributor.
This came up in pydata/xarray#1272 where we are copying the new pandas