write_pickle_gz

write_pickle_gz(obj, path, **kwargs)[source]

Write an object to a gzipped pickle.

Parameters:
  • obj – The object to write

  • path (Union[str, Path]) – The path of the file to write to

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

Return type:

None