AlifestdIplotxShimPandas

class AlifestdIplotxShimPandas

Iplotx TreeDataProvider for pandas alife-standard dataframes.

The dataframe must be asexual with contiguous ids and topologically sorted rows. An ancestor_id column will be derived from ancestor_list if needed.

Parameters

treepd.DataFrame

Pandas phylogeny dataframe in alife standard format.

mutatebool, default False

If True, allow modification of the input dataframe.

__init__(tree: DataFrame, mutate: bool = False) None[source]

Methods

__init__(tree: DataFrame, mutate: bool = False) None[source]
static check_dependencies() bool[source]
static tree_type() type[source]