alifestd_mark_roots_polars

alifestd_mark_roots_polars(phylogeny_df: DataFrame, *, mark_as: str = 'is_root') DataFrame

Create column is_root to mark rows with no ancestor.

The output column name can be changed via the mark_as parameter.