alifestd_unfurl_traversal_postorder_contiguous_polars
- alifestd_unfurl_traversal_postorder_contiguous_polars(phylogeny_df: DataFrame) ndarray
List node indices in DFS postorder traversal order, with subtree contiguity.
Parameters
- phylogeny_dfpolars.DataFrame or polars.LazyFrame
The phylogeny as a dataframe in alife standard format.
Must represent an asexual phylogeny with contiguous ids and topologically sorted rows.
Returns
- np.ndarray
Index array giving DFS postorder traversal order.
See Also
- alifestd_unfurl_traversal_postorder_asexual :
Pandas-based implementation.