[Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

Vishal Rana ranavishal at gmail.com
Wed Jun 16 11:36:18 EDT 2010


Thanks

On Tue, Jun 15, 2010 at 8:49 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Tue, Jun 15, 2010 at 01:56, Vishal Rana <ranavishal at gmail.com> wrote:
> > Robert,
> > As you said, I was able to get the results, but I now got a question as
> > np.load('np.npz') returns me a <class 'numpy.lib.io.NpzFile'> object so
> does
> > that mean the data is read directly from the from the npz file and not
> all
> > the data is loaded to the memory?
>
> Correct. The data is loaded lazily, on request.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100616/aada32c5/attachment.html>


More information about the NumPy-Discussion mailing list