Write a dataframe as one parquet file, keeping the values it holds.
Parquet stores types, so a column comes back as what it was written as rather than as text a reader has to guess at. A column with no single type – one holding both text and booleans, or a model, or a nested mapping – has no parquet type of its own; each of its cells is written as a JSON document instead, and the file names those columns in its metadata so a reader gets the values back rather than their spelling.
Parameters
Parameter
Description
frame
The table to write.
path
Where to write it.
metadata
Key-value strings for the file’s own metadata, which read_parquet hands back. A format states here what its table cannot say in a column.