alifestd_unfurl_traversal_inorder_polars
- alifestd_unfurl_traversal_inorder_polars(phylogeny_df: DataFrame) ndarray
List node indices in inorder traversal order, with left children visited first.
Parameters
- phylogeny_dfpolars.DataFrame or polars.LazyFrame
The phylogeny as a dataframe in alife standard format.
Must represent an asexual, strictly bifurcating phylogeny with contiguous ids and topologically sorted rows.
Returns
- np.ndarray
Index array giving inorder traversal order.
See Also
- alifestd_unfurl_traversal_inorder_asexual :
Pandas-based implementation.