numpy.savez()

numpy.savez

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

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

If arguments are passed in with no keywords, the corresponding variable names, in the .npz file, are ‘arr_0’, ‘arr_1’, etc. If keyword arguments are given, the corresponding variable names, in the .npz file will match the keyword names.

Parameters:

file : str or file

Either the file name (string) or an op