alifestd_add_inner_leaves

alifestd_add_inner_leaves(phylogeny_df: DataFrame, mutate: bool = False) DataFrame

Create a zero-length branch with leaf node for each inner node.

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.