save_pickle#

save_pickle(filename, output, protocol=default_pickle_protocol)[source]#

Save a pickle file with the proper protocol pickle version.

Parameters:
  • filename (Path) – Name of the output pickle file.

  • output (Any) – Data to save

  • protocol (int) –