otwrapy.load_array

load_array(filename, compressed=False)

Load a (possibly compressed) pickled array.

Parameters:
filenamestr

Path to the file to be loaded. If the extension is ‘.pklz’, it considers that the file is compressed with gzip.

compressedbool

Indicates if the file is compressed with gzip or not.