Drop non-dimension coordinates along the resampled dimension.
(self)
| 122 | return result |
| 123 | |
| 124 | def _drop_coords(self) -> T_Xarray: |
| 125 | """Drop non-dimension coordinates along the resampled dimension.""" |
| 126 | obj = self._obj |
| 127 | for k, v in obj.coords.items(): |
| 128 | if k != self._dim and self._dim in v.dims: |
| 129 | obj = obj.drop_vars([k]) |
| 130 | return obj |
| 131 | |
| 132 | def pad(self, tolerance: float | Iterable[float] | str | None = None) -> T_Xarray: |
| 133 | """Forward fill new values at up-sampled frequency. |