read_parquet

function of dascore.utils.tables source

read_parquet(
    path ,
    what: str = nothing,
    empty: bool = False,
)-> ‘tuple[pd.DataFrame, dict[str, str]]’

Read one parquet file, and whatever it states about itself.

Returns the table and its metadata, with the columns write_parquet stored as JSON documents read back as the values they hold.

Parameters

Parameter Description
path The parquet file to read.
what What a table with no columns fails to state, for that error message.
empty Whether a table with no columns is allowed, for a format in which
that is how something holding nothing is written.