alifestd_try_add_ancestor_id_col_polars

alifestd_try_add_ancestor_id_col_polars(phylogeny_df: DataFrame) DataFrame

Add an ancestor_id column to the input DataFrame if the phylogeny is asexual and the column does not already exist.