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

Robert Kern robert.kern@gmail....
Tue Jun 15 22:49:50 CDT 2010

On Tue, Jun 15, 2010 at 01:56, Vishal Rana <ranavishal@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

More information about the NumPy-Discussion mailing list