Skip to content
forked from pydata/xarray

Commit

Permalink
fix transpose docstring. Closes pydata#2576
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Mar 7, 2019
1 parent 75ca7f2 commit d7b4f7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,8 +1385,9 @@ def transpose(self, *dims):
Notes
-----
Although this operation returns a view of this array's data, it is
not lazy -- the data will be fully loaded.
This operation returns a view of this array's data. It is
lazy for dask-backed DataArrays but not for numpy-backed DataArrays
-- the data will be fully loaded.
See Also
--------
Expand Down
5 changes: 3 additions & 2 deletions xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2817,8 +2817,9 @@ def transpose(self, *dims):
Notes
-----
Although this operation returns a view of each array's data, it
is not lazy -- the data will be fully loaded into memory.
This operation returns a view of each array's data. It is
lazy for dask-backed DataArrays but not for numpy-backed DataArrays
-- the data will be fully loaded into memory.
See Also
--------
Expand Down
4 changes: 2 additions & 2 deletions xarray/core/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,8 +1133,8 @@ def transpose(self, *dims):
Notes
-----
Although this operation returns a view of this variable's data, it is
not lazy -- the data will be fully loaded.
This operation returns a view of this variable's data. It is
lazy for dask-backed Variables but not for numpy-backed Variables.
See Also
--------
Expand Down

0 comments on commit d7b4f7c

Please sign in to comment.