alifestd_find_leaf_ids_polars

alifestd_find_leaf_ids_polars(phylogeny_df: DataFrame) ndarray

What ids are ancestor to no other ids?

Parameters

phylogeny_dfpolars.DataFrame or polars.LazyFrame

The phylogeny as a dataframe in alife standard format.

Must have contiguous ids and represent an asexual phylogeny.

Returns

numpy.ndarray

Array of leaf node ids.

See Also

alifestd_find_leaf_ids :

Pandas-based implementation.