scipy.cluster
scipy.cluster.hierarchy
ClusterNode.
is_leaf
Return True if the target node is a leaf.
leafness : bool
True if the target node is a leaf node.
scipy.cluster.hierarchy.ClusterNode.get_right
scipy.cluster.hierarchy.ClusterNode.pre_order