alifestd_coarsen_mask

alifestd_coarsen_mask(phylogeny_df: ~pandas.core.frame.DataFrame, mask: ~pandas.core.series.Series, mutate: bool = False, progress_wrap: ~typing.Callable = <function <lambda>>) DataFrame

Pare record to bypass organisms outside mask.

The root ancestor token will be adopted from phylogeny_df.

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.