xarray.DataTree.width (original) (raw)

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)