Collection.write_parquet#
- Collection.write_parquet(directory: str | Path, **kwargs: Any) None[source]#
Write the members of this collection to parquet files in a directory.
This method writes one parquet file per member into the provided directory. Each parquet file is named
<member>.parquet. No file is written for optional members which are not provided in the current collection.- Parameters:
directory – The directory where the Parquet files should be written to. The
mkdirkwarg controls whether the directory is created if needed.kwargs – Additional keyword arguments passed to
polars.DataFrame.write_parquet().metadatamay only be provided if it is a dictionary.
Attention
This method suffers from the same limitations as
serialize().