| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.create_memory_map.html | [Back] [Original] |
Section Navigation
Create a file of the given size and memory-map it.
MemoryMappedFileExamples
Create a file with a memory map:
>>> import pyarrow as pa
>>> with pa.create_memory_map('example_mmap_create.dat', 27) as mmap:
... mmap.write(b'Create a memory-mapped file')
... mmap.read_at(10, 9)
...
27
b'memory-map'
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |