Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Fix a typo (pydata#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiisoup authored and shoyer committed Apr 10, 2017
1 parent a943419 commit f87bb0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/reshaping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ use :py:meth:`~xarray.DataArray.expand_dims`
expanded = ds.expand_dims('w')
expanded
This method attaches a new dimension with size 1 to all data variable.
This method attaches a new dimension with size 1 to all data variables.

To remove such a size-1 dimension from the py:class:`~xarray.DataArray`
To remove such a size-1 dimension from the :py:class:`~xarray.DataArray`
or :py:class:`~xarray.Dataset`,
use :py:meth:`~xarray.DataArray.squeeze`

Expand Down

0 comments on commit f87bb0b

Please sign in to comment.