alifestd_prefix_roots_polars

alifestd_prefix_roots_polars(phylogeny_df: DataFrame, *, allow_id_reassign: bool = False, origin_time: Real | None = None) DataFrame

Add new roots to the phylogeny, prefixing existing roots.

An origin time may be specified, in which case only roots with origin times past the specified time will be prefixed. If no origin time is specified, all roots will be prefixed.