alifestd_mark_colless_index_corrected_polars

alifestd_mark_colless_index_corrected_polars(phylogeny_df: DataFrame, *, mark_as: str = 'colless_index_corrected') DataFrame

Add column colless_index_corrected with the corrected Colless index for each subtree.

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