geost.base.BoreholeCollection.to_parquet#

BoreholeCollection.to_parquet(outfile: str | Path, data_table: bool = True, **kwargs)#

Export the data or header table to a parquet file. By default the data table is exported.

Parameters:
  • file (str | Path) – Path to parquet file to be written.

  • data_table (bool, optional) – If True, the data table is exported. If False, the header table is exported.

  • **kwargs – pd.DataFrame.to_parquet kwargs. See relevant Pandas documentation.

Examples

Export the data table: >>> collection.to_parquet(“example.parquet”)

Export the header table: >>> collection.to_parquet(“example.parquet”, data_table=False)