-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
topic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class
Description
What is your issue?
It would be nice to natively support nested data in from_dict()
and to_dict()
, rather only than the current "flat" format, e.g., DataTree.from_dict({'a': {'b': {'c': None}}})
instead of DataTree.from_dict({'/a/b/c': None})
.
For from_dict()
, we could support this by automatically expanding dictionary arguments.
For to_dict()
, we could add a new argument nested=True
for indicating that a nested dict of names should be returned instead of the current flat structure.
Metadata
Metadata
Assignees
Labels
topic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class