Skip to content

Commit 3e2597a

Browse files
authored
Fix a typo in doc/user-guide/reshaping.rst (#11186)
1 parent 429ec3b commit 3e2597a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

doc/user-guide/reshaping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ arrays as inputs. For datasets with only one variable, we only need ``stack``
179179
and ``unstack``, but combining multiple variables in a
180180
:py:class:`xarray.Dataset` is more complicated. If the variables in the dataset
181181
have matching numbers of dimensions, we can call
182-
:py:meth:`~xarray.Dataset.to_dataarray` and then stack along the the new coordinate.
182+
:py:meth:`~xarray.Dataset.to_dataarray` and then stack along the new coordinate.
183183
But :py:meth:`~xarray.Dataset.to_dataarray` will broadcast the dataarrays together,
184184
which will effectively tile the lower dimensional variable along the missing
185185
dimensions. The method :py:meth:`xarray.Dataset.to_stacked_array` allows

doc/whats-new.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Bug Fixes
4141
Documentation
4242
~~~~~~~~~~~~~
4343

44+
- Fix a typo in ``xarray/doc/user-guide/reshaping.rst`` (:pull:`11186`).
4445
- Fix a typo in ``xarray/core/dataarray.py`` (:pull:`11185`).
4546
By `Yaocheng Chen <https://github.com/yaochengchen>`_.
4647

0 commit comments

Comments
 (0)