Getting values
pyntree takes a somewhat unique approach to getting the values stored in nodes thanks to python limitations. To get a node's value, simply call it:
root_node()
The same applies to child nodes.
pyntree takes a somewhat unique approach to getting the values stored in nodes thanks to python limitations. To get a node's value, simply call it:
root_node()
The same applies to child nodes.