int (major, minor) or None If the mode is a "write" mode, then this is the version of the file format used to create the file. None means use the oldest supported version that is able to store the data. Default: None max_header_size : int, optional Maximum allowed size of the header. Large headers may not be safe to load securely and thus require explicitly passing a larger value. See :py:func:`ast.literal_eval()` for details. Returns ------- marray : memmap The memory-mapped array. Raises ------ ValueError If the data or the mode is invalid. OSError If the file is not found or cannot be opened correctly. See Also -------- numpy.memmap zZFilename must be a string or a path-like object. Memmap cannot use existing file handles.Ú