alifestd_warn_topological_sensitivity_polars

alifestd_warn_topological_sensitivity_polars(phylogeny_df: DataFrame | LazyFrame, caller: str, *, insert: bool, delete: bool, update: bool) None

Emit a warning if phylogeny_df contains columns that may be invalidated by topological operations.

Parameters

phylogeny_dfpolars.DataFrame or polars.LazyFrame

The phylogeny as a dataframe in alife standard format.

callerstr

Name of the calling function, included in the warning message.

insertbool

Whether the operation inserts new nodes.

deletebool

Whether the operation deletes nodes.

updatebool

Whether the operation updates ancestor relationships.

See Also

alifestd_warn_topological_sensitivity :

Pandas-based implementation.