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

2010-06-16 Thread Vishal Rana
Thanks On Tue, Jun 15, 2010 at 8:49 PM, Robert Kern wrote: > On Tue, Jun 15, 2010 at 01:56, Vishal Rana 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 object so > does > > that mean the data is read directly fro

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

2010-06-15 Thread Robert Kern
On Tue, Jun 15, 2010 at 01:56, Vishal Rana 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  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? C

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

2010-06-14 Thread Vishal Rana
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 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? Thanks Vishal Rana On Mon, Jun 14, 2010 at 5:08 PM, Robert

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

2010-06-14 Thread Vishal Rana
Thanks Robert On Mon, Jun 14, 2010 at 5:08 PM, Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > > Hi, > > I have dictionary of numpy record arrays, what could be fastest way to > > save/load to/from a disk. I tried numpy.save() but my dictionary is lost > and > > cPickl

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

2010-06-14 Thread Warren Weckesser
Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:27, Warren Weckesser > wrote: > >> Robert Kern wrote: >> >>> On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: >>> >>> Hi, I have dictionary of numpy record arrays, what could be fastest way to save/load to/from a disk.

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

2010-06-14 Thread Robert Kern
On Mon, Jun 14, 2010 at 19:27, Warren Weckesser wrote: > Robert Kern wrote: >> On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: >> >>> Hi, >>> I have dictionary of numpy record arrays, what could be fastest way to >>> save/load to/from a disk. I tried numpy.save() but my dictionary is lost and >

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

2010-06-14 Thread Warren Weckesser
Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > >> Hi, >> I have dictionary of numpy record arrays, what could be fastest way to >> save/load to/from a disk. I tried numpy.save() but my dictionary is lost and >> cPickle seems to be slow. >> > > numpy.savez() will s

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

2010-06-14 Thread Robert Kern
On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > Hi, > I have dictionary of numpy record arrays, what could be fastest way to > save/load to/from a disk. I tried numpy.save() but my dictionary is lost and > cPickle seems to be slow. numpy.savez() will save a dictionary of arrays out to a .zip

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

2010-06-14 Thread Vishal Rana
Hi, I have dictionary of numpy record arrays, what could be fastest way to save/load to/from a disk. I tried numpy.save() but my dictionary is lost and cPickle seems to be slow. Thanks Vishal ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org