array_to_memmap#

array_to_memmap(arr, filename=None)[source]#

Converts a obj:numpy.ndarray to a obj:numpy.memmap.

Parameters:
arrobj:numpy.ndarray

Input data.

filenamestr, optional

Path to new memmap, generate_tempfile_name() is used by default.

Returns:
str

Path to the memmap.