pyarrow.create_memory_map

pyarrow.create_memory_map(path, size)

Create a file of the given size and memory-map it.

Parameters:
  • path (string) – The file path to create, on the local filesystem.
  • size (int) – The file size to create.
Returns:

mmap (MemoryMappedFile)