alifestd_mark_is_right_child_polars
- alifestd_mark_is_right_child_polars(phylogeny_df: DataFrame, *, mark_as: str = 'is_right_child') DataFrame
Add column is_right_child, containing for each node whether it is the larger-id child.
The output column name can be changed via the
mark_asparameter.Root nodes will be marked False.