Skip to content

Commit

Permalink
Add note about inheritance to .ds docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer committed Jul 2, 2024
1 parent 57e598e commit 6cfd8ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/core/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,8 @@ def ds(self) -> DatasetView:
"""
An immutable Dataset-like view onto the data in this node.
Includes inherited coordinates and indexes from parent nodes.
For a mutable Dataset containing the same data as in this node, use
`.to_dataset()` instead.
Expand Down

0 comments on commit 6cfd8ff

Please sign in to comment.