alifestd_mark_leaves
- alifestd_mark_leaves(phylogeny_df: DataFrame, mutate: bool = False, *, mark_as: str = 'is_leaf') DataFrame
What rows are ancestor to no other row?
The output column name can be changed via the
mark_asparameter.Input dataframe is not mutated by this operation unless mutate set True. If mutate set True, operation does not occur in place; still use return value to get transformed phylogeny dataframe.