pyarrow.memory_map#

pyarrow.memory_map(path, mode='r')#

Open memory map at file path. Size of the memory map cannot change.

Parameters
pathstr
mode{β€˜r’, β€˜r+’, β€˜w’}, default β€˜r’

Whether the file is opened for reading (β€˜r+’), writing (β€˜w’) or both (β€˜r+’).

Returns
mmapMemoryMappedFile