numpy.load()
numpy.load
-
numpy.load(file, mmap_mode=None, allow_pickle=True, fix_imports=True, encoding='ASCII')
[source] -
Load arrays or pickled objects from
.npy
,.npz
or pickled files.Parameters: file : file-like object, string, or pathlib.Path
The file to read. File-like objects must support the
seek()
andread()
methods. Pickled files require that the file-like object support thereadline()
method as well.