diff options
author | Jan Schlüter <jan.schlueter@ofai.at> | 2016-08-29 14:19:37 +0200 |
---|---|---|
committer | Jan Schlüter <jan.schlueter@ofai.at> | 2016-08-29 14:46:24 +0200 |
commit | 9a216d5103f9200e678ec2c23fedaf123cf751ba (patch) | |
tree | f71a1c04798bdf0dd3b7e96501b96cfd2d9500d8 /numpy/lib/npyio.py | |
parent | 6ee295ad41e23ce50e265f402d44db8742f231b1 (diff) | |
download | numpy-9a216d5103f9200e678ec2c23fedaf123cf751ba.tar.gz |
DOC: Hint at lib.format.open_memmap from np.load and np.memmap
np.load supports memmap_mode to open existing .npy files as
memory-mapped files. np.memmap supports creating or loading raw
binary files as memory-mapped files. This adds a link to a
function for creating memory-mapped files in .npy format.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 534aa695c..5686b06ec 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -316,6 +316,7 @@ def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True, -------- save, savez, savez_compressed, loadtxt memmap : Create a memory-map to an array stored in a file on disk. + lib.format.open_memmap : Create or load a memory-mapped ``.npy`` file. Notes ----- |