alifestd_check_topological_sensitivity_polars

alifestd_check_topological_sensitivity_polars(phylogeny_df: DataFrame | LazyFrame, *, insert: bool, delete: bool, update: bool) List[str]

Return names of columns present in phylogeny_df that may be invalidated by topological operations such as collapsing unifurcations.

Accepts polars DataFrames and LazyFrames.

If no such columns exist, returns an empty list.

Parameters

phylogeny_dfpolars.DataFrame or polars.LazyFrame

The phylogeny as a dataframe in alife standard format.

insertbool

Whether the operation inserts new nodes.

deletebool

Whether the operation deletes nodes.

updatebool

Whether the operation updates ancestor relationships.

See Also

alifestd_check_topological_sensitivity :

Pandas-based implementation.