pyarrow.
create_memory_map
Create a file of the given size and memory-map it.
path (str) – The file path to create, on the local filesystem.
size (int) – The file size to create.
mmap (MemoryMappedFile)