dask.array.from_npy_stack#
- dask.array.from_npy_stack(dirname, mmap_mode='r')[source]#
Load dask array from stack of npy files
Warning
This function uses the
picklemodule to load array metadata. Thepicklemodule is not secure against erroneous or maliciously constructed data. Never load data that could have come from an untrusted source, or that could have been tampered with.- Parameters:
- dirname: string
Directory of .npy files
- mmap_mode: (None or ‘r’)
Read data in memory map mode
See also