geost.base.Collection.to_pickle#

Collection.to_pickle(outfile: str | Path, **kwargs)[source]#

Export the complete Collection to a pickle file.

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

  • **kwargs – pd.to_pickle kwargs. See relevant Pandas documentation.

Examples

>>> collection.to_pickle("example.pkl")