Return values of original object at the new up-sampling frequency; essentially a re-index with new times set to NaN. Returns ------- resampled : Dataset
(self)
| 510 | ) |
| 511 | |
| 512 | def asfreq(self) -> Dataset: |
| 513 | """Return values of original object at the new up-sampling frequency; |
| 514 | essentially a re-index with new times set to NaN. |
| 515 | |
| 516 | Returns |
| 517 | ------- |
| 518 | resampled : Dataset |
| 519 | """ |
| 520 | self._obj = self._drop_coords() |
| 521 | return self.mean(None if self._dim is None else [self._dim]) |