dask.array.from_npy_stack

Contents

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 pickle module to load array metadata. The pickle module 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

to_npy_stack