Skip to content

Commit cb212e2

Browse files
committed
add bugfixes in whats_new.rst, fixes pydata#8762
1 parent f2856d6 commit cb212e2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/whats-new.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ Deprecations
4141
Bug fixes
4242
~~~~~~~~~
4343

44+
- Following `DataArrayResample.interpolate and passing kwargs
45+
<https://github.com/pydata/xarray/issues/8762>`_ interpolate method now
46+
supports kwargs such as order for producing the polynomial interpolation.
47+
(:issue:`8762`). By
48+
`Nicolas Karasiak <https://github.com/nkarasiak>`_.
49+
4450

4551
Documentation
4652
~~~~~~~~~~~~~

xarray/core/resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _interpolate(self, kind="linear", **kwargs) -> T_Xarray:
174174
"""Apply scipy.interpolate.interp1d along resampling dimension."""
175175
obj = self._drop_coords()
176176
(grouper,) = self.groupers
177-
kwargs.update({"bounds_error": False})
177+
kwargs.update({"bounds_error": False})
178178
return obj.interp(
179179
coords={self._dim: grouper.full_index},
180180
assume_sorted=True,

0 commit comments

Comments
 (0)