The parquet spelling of to_csv, for a set too big to want text. It keeps what a CSV cannot: a column parquet has a type for comes back as that type rather than as a spelling to be guessed at, and the dimensions travel in the file’s own metadata rather than having to be stated again. A column with no one type is written as JSON, which keeps the value of each cell but not every python type it may have been held in – a tuple comes back as a list.
Needs pyarrow, which CSV does not; a set of regions can always be written as a table, whatever is installed.
Parameters
Parameter
Description
annotations
The set to write.
path
Where to write the file.
Returns
The path written to, so a save reads straight back.