xarray.DataTree.width (original) (raw)
- API reference
- xarray.DataTree.width
property DataTree.width#
Number of nodes at this level in the tree.
Includes number of immediate siblings, but also “cousins” in other branches and so-on.
Returns:
depth (int)