Skip to content

Commit 7515478

Browse files
committed
disable linear_ramp test and add pad to whats-new.rst and api.rst
1 parent 314f007 commit 7515478

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

doc/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ Reshaping and reorganizing
220220
Dataset.to_stacked_array
221221
Dataset.shift
222222
Dataset.roll
223+
Dataset.pad
223224
Dataset.sortby
224225
Dataset.broadcast_like
225226

@@ -399,6 +400,7 @@ Reshaping and reorganizing
399400
DataArray.to_unstacked_dataset
400401
DataArray.shift
401402
DataArray.roll
403+
DataArray.pad
402404
DataArray.sortby
403405
DataArray.broadcast_like
404406

doc/whats-new.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Breaking changes
2525

2626
New Features
2727
~~~~~~~~~~~~
28+
- Implement :py:meth:`DataArray.pad` and :py:meth:`Dataset.pad`. (:issue:`2605`).
29+
By `Mark Boer <https://github.com/mark-boer>`_.
2830
- Implement :py:func:`median` and :py:func:`nanmedian` for dask arrays. This works by rechunking
2931
to a single chunk along all reduction axes. (:issue:`2999`).
3032
By `Deepak Cherian <https://github.com/dcherian>`_.

xarray/tests/test_variable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def test_getitem_error(self):
792792
pytest.param("median", marks=pytest.mark.xfail),
793793
pytest.param("reflect", marks=pytest.mark.xfail),
794794
"edge",
795-
"linear_ramp",
795+
pytest.param("linear_ramp", marks=pytest.mark.xfail),
796796
"maximum",
797797
"minimum",
798798
"symmetric",

0 commit comments

Comments
 (0)