xarray.DataTree.isomorphic (original) (raw)
- API reference
- xarray.DataTree.isomorphic
DataTree.isomorphic(other)[source]#
Two DataTrees are considered isomorphic if the set of paths to their descendent nodes are the same.
Nothing about the data in each node is checked.
Isomorphism is a necessary condition for two trees to be used in a nodewise binary operation, such as tree1 + tree2
.
Parameters:
other (DataTree) – The other tree object to compare to.