alifestd_mark_num_children_polars
- alifestd_mark_num_children_polars(phylogeny_df: DataFrame, *, mark_as: str = 'num_children') DataFrame
Add column num_children, counting for each node the number of nodes it is parent to.
The output column name can be changed via the
mark_asparameter.