Skip to content

Commit 380b6b1

Browse files
authored
[docs] DataTree cannot be constructed from DataArray (#10142)
1 parent e6eabca commit 380b6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/user-guide/data-structures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ specifying the nodes' relationship to one another as you create each one.
558558
The :py:class:`~xarray.DataTree` constructor takes:
559559

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

0 commit comments

Comments
 (0)