parquet_table

function of dascore.utils.tables source

parquet_table(
    frame: DataFrame ,
    metadata: collections.abc.Mapping | None[Mapping, None] = None,
)

Return a dataframe as the parquet table it is written from.

Spelled out before anything is written, so a caller storing several tables at once can prepare them all before it touches the directory. See write_parquet, which is this and the write together.