🍾 Xarray is now 10 years old! 🎉

xarray.core.resample.DataArrayResample.asfreq

xarray.core.resample.DataArrayResample.asfreq#

DataArrayResample.asfreq()[source]#

Return values of original object at the new up-sampling frequency; essentially a re-index with new times set to NaN.

Returns:

resampled (DataArray)