Skip to content

Commit 8b13682

Browse files
authored
remove duplicated example code (#10884)
1 parent bd06460 commit 8b13682

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

xarray/core/common.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,14 +1203,6 @@ def where(self, cond: Any, other: Any = dtypes.NA, drop: bool = False) -> Self:
12031203
[-20, -21, -22, -23, -24]])
12041204
Dimensions without coordinates: x, y
12051205
1206-
>>> a.where(a.x + a.y < 4, drop=True)
1207-
<xarray.DataArray (x: 4, y: 4)> Size: 128B
1208-
array([[ 0., 1., 2., 3.],
1209-
[ 5., 6., 7., nan],
1210-
[10., 11., nan, nan],
1211-
[15., nan, nan, nan]])
1212-
Dimensions without coordinates: x, y
1213-
12141206
See Also
12151207
--------
12161208
numpy.where : corresponding numpy function

0 commit comments

Comments
 (0)