[Numpy-discussion] Only integer scalar arrays can be converted to a scalar index

Robert McLeod robbmcleod at gmail.com
Fri Sep 15 17:46:50 EDT 2017


On Fri, Sep 15, 2017 at 2:37 PM, Elliot Hallmark <Permafacture at gmail.com>
wrote:

> Nope. Numpy only works on in memory arrays. You can determine your own
> chunking strategy using hdf5, or something like dask can figure that
> strategy out for you. With numpy you might worry about not accidentally
> making duplicates or intermediate arrays, but that's the extent of memory
> optimization you can do in numpy itself.
>

NumPy does have it's own memory map variant on ndarray:

https://docs.scipy.org/doc/numpy/reference/generated/numpy.memmap.html



-- 
Robert McLeod, Ph.D.
robbmcleod at gmail.com
robbmcleod at protonmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170915/b85aa06e/attachment.html>


More information about the NumPy-Discussion mailing list