Skip to content

Commit 729b8ba

Browse files
committed
Simplify combining docs slightly
1 parent eb14402 commit 729b8ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/user-guide/combining.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ dimension:
5151

5252
.. ipython:: python
5353
54-
da0 = da.isel(x=0).drop_vars("x")
55-
da1 = da.isel(x=1).drop_vars("x")
54+
da0 = da.isel(x=0, drop=True)
55+
da1 = da.isel(x=1, drop=True)
5656
5757
xr.concat([da0, da1], "new_dim")
5858

0 commit comments

Comments
 (0)