pop_to_records

pop_to_records(columns: ~typing.Iterable[~hstrat.genome_instrumentation.HereditaryStratigraphicColumn], progress_wrap: ~typing.Callable = <function <lambda>>) Dict

Serialize a sequence of `HereditaryStratigraphicColumn`s to a dict composed of builtin types.

Parameters

columnsiterable of HereditaryStratigraphicColumn

Data to serialize.

progress_wrapCallable, default identity function

Wrapper applied around generation iterator and row generator for final phylogeny compilation process.

Pass tqdm or equivalent to display progress bars.