alifestd_ultrametricize_polars

alifestd_ultrametricize_polars(phylogeny_df: DataFrame, *, method: Literal['extend'] = 'extend') DataFrame

Adjust tip origin_time values so all tips share the same time.

With method="extend", each tip’s origin_time is set to the maximum origin_time across all nodes. Internal node times are not modified.

Empty phylogenies are returned unchanged. Must represent an asexual phylogeny (when is_leaf is not already present).

See Also

alifestd_ultrametricize :

Pandas-based implementation.