alifestd_mark_csr_children_polars

alifestd_mark_csr_children_polars(phylogeny_df: DataFrame, *, mark_as: str = 'csr_children') DataFrame

Add column csr_children, a flat array of child ids grouped by parent according to CSR offsets from the csr_offsets column.

The output column name can be changed via the mark_as parameter.