write_pickle_gz

write_pickle_gz(obj: Any, path: str | Path, **kwargs: Any) None[source]

Write an object to a gzipped pickle.

Parameters:
  • obj – The object to write

  • path – The path of the file to write to

  • kwargs – Additional kwargs to pass to pickle.dump()