xarray.DataTree.width

Contents

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)

See also

level, depth