ytree.arbor.tree_node_selector.min_field_value

ytree.arbor.tree_node_selector.min_field_value(ancestors, field)

Return the TreeNode with the minimum value of the given field.

Parameters:
  • ancestors (list of TreeNode objects) – List of TreeNode objects from which to select.
  • field (string) – Field to be used for selection.
Returns:

Return type:

TreeNode object