Skip to content

[docs] DataTree cannot be constructed from DataArray #10142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/user-guide/data-structures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ specifying the nodes' relationship to one another as you create each one.
The :py:class:`~xarray.DataTree` constructor takes:

- ``dataset``: The data that will be stored in this node, represented by a single
:py:class:`xarray.Dataset`, or a named :py:class:`xarray.DataArray`.
:py:class:`xarray.Dataset`.
- ``children``: The various child nodes (if there are any), given as a mapping
from string keys to :py:class:`~xarray.DataTree` objects.
- ``name``: A string to use as the name of this node.
Expand Down
Loading