datatree.DataTree.ancestors#

property DataTree.ancestors: Tuple[datatree.treenode.Tree, ...]#

All parent nodes and their parent nodes, starting with the most distant.