Return values of original object at the new up-sampling frequency; essentially a re-index with new times set to NaN. Returns ------- resampled : DataArray
(self)
| 381 | return self.map(func=func, shortcut=shortcut, args=args, **kwargs) |
| 382 | |
| 383 | def asfreq(self) -> DataArray: |
| 384 | """Return values of original object at the new up-sampling frequency; |
| 385 | essentially a re-index with new times set to NaN. |
| 386 | |
| 387 | Returns |
| 388 | ------- |
| 389 | resampled : DataArray |
| 390 | """ |
| 391 | self._obj = self._drop_coords() |
| 392 | return self.mean(None if self._dim is None else [self._dim]) |
| 393 | |
| 394 | |
| 395 | class DatasetResample( |
nothing calls this directly
no test coverage detected