SciPy

numpy.savez_compressed

numpy.savez_compressed(file, *args, **kwds)[source]

Save several arrays into a single file in compressed .npz format.

If keyword arguments are given, then filenames are taken from the keywords. If arguments are passed in with no keywords, then stored file names are arr_0, arr_1, etc.

Parameters :

file : str

File name of .npz file.

args : Arguments

Function arguments.

kwds : Keyword arguments

Keywords.

See also

numpy.savez
Save several arrays into an uncompressed .npz file format
numpy.load
Load the files created by savez_compressed.

Previous topic

numpy.savez

Next topic

numpy.loadtxt