alifestd_unfurl_traversal_topological_asexual
- alifestd_unfurl_traversal_topological_asexual(phylogeny_df: DataFrame, mutate: bool = False) ndarray
List id values in topological traversal order.
Parents are visited before children. If the dataframe is already topologically sorted, the existing id order is returned directly. Otherwise, a topological ordering is computed.
The provided dataframe must be asexual.
Input dataframe is not mutated by this operation unless mutate set True. If mutate set True, operation does not occur in place; still use return value to get transformed phylogeny dataframe.