alifestd_drop_topological_sensitivity
- alifestd_drop_topological_sensitivity(phylogeny_df: DataFrame, mutate: bool = False, *, insert: bool = True, delete: bool = True, update: bool = True) DataFrame
Drop columns from phylogeny_df that may be invalidated by topological operations such as collapsing unifurcations.
Parameters
- phylogeny_dfpandas.DataFrame
The phylogeny as a dataframe in alife standard format.
- mutatebool, default False
Are side effects on the input argument allowed?
- insertbool, default True
Drop columns sensitive to node insertion.
- deletebool, default True
Drop columns sensitive to node deletion.
- updatebool, default True
Drop columns sensitive to ancestor relationship updates.
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.
See Also
- alifestd_drop_topological_sensitivity_polars :
Polars-based implementation.