Re: [Numpy-discussion] Question about np.savez

2009-09-02 Thread Francesc Alted
A Wednesday 02 September 2009 11:20:55 Jorge Scandaliaris escrigué: > Thanks David, Robert and Francesc for comments and suggestions. It's nice > having options, but that also means one has to choose ;) > I will have a closer look at pytables. The thing that got me "scared" about > it was the word

Re: [Numpy-discussion] Question about np.savez

2009-09-02 Thread Jorge Scandaliaris
Thanks David, Robert and Francesc for comments and suggestions. It's nice having options, but that also means one has to choose ;) I will have a closer look at pytables. The thing that got me "scared" about it was the word database. I have close to zero experience using or, even worst, designing da

Re: [Numpy-discussion] Question about np.savez

2009-09-02 Thread Francesc Alted
A Wednesday 02 September 2009 05:50:57 Robert Kern escrigué: > On Tue, Sep 1, 2009 at 21:11, Jorge Scandaliaris wrote: > > David Warde-Farley cs.toronto.edu> writes: > >> If you actually want to save multiple arrays, you can use > >> savez('fname', *[a,b,c]) and they will be accessible under the

Re: [Numpy-discussion] Question about np.savez

2009-09-01 Thread Robert Kern
On Tue, Sep 1, 2009 at 21:11, Jorge Scandaliaris wrote: > David Warde-Farley cs.toronto.edu> writes: >> If you actually want to save multiple arrays, you can use >> savez('fname', *[a,b,c]) and they will be accessible under the names >> arr_0, arr_1, etc. and a list of these names is in the 'files

Re: [Numpy-discussion] Question about np.savez

2009-09-01 Thread David Warde-Farley
On 1-Sep-09, at 10:11 PM, Jorge Scandaliaris wrote: > David Warde-Farley cs.toronto.edu> writes: >> If you actually want to save multiple arrays, you can use >> savez('fname', *[a,b,c]) and they will be accessible under the names >> arr_0, arr_1, etc. and a list of these names is in the 'files'

Re: [Numpy-discussion] Question about np.savez

2009-09-01 Thread Jorge Scandaliaris
David Warde-Farley cs.toronto.edu> writes: > If you actually want to save multiple arrays, you can use > savez('fname', *[a,b,c]) and they will be accessible under the names > arr_0, arr_1, etc. and a list of these names is in the 'files' > attribute on the NpzFile object. To retrieve your l

Re: [Numpy-discussion] Question about np.savez

2009-09-01 Thread David Warde-Farley
On 1-Sep-09, at 9:08 AM, Pauli Virtanen wrote: > Tue, 01 Sep 2009 12:07:36 +, jorgesmbox-ml kirjoitti: >> I know the documentation states that np.savez saves numpy arrays, >> so my >> question relates to misusing it. Before reading the doc in detail, >> and >> after reading about pickle a

Re: [Numpy-discussion] Question about np.savez

2009-09-01 Thread Pauli Virtanen
Tue, 01 Sep 2009 12:07:36 +, jorgesmbox-ml kirjoitti: > I know the documentation states that np.savez saves numpy arrays, so my > question relates to misusing it. Before reading the doc in detail, and > after reading about pickle and other options to make data persistent, I > passed np.savez a

[Numpy-discussion] Question about np.savez

2009-09-01 Thread jorgesmbox-ml
Hi, I know the documentation states that np.savez saves numpy arrays, so my question relates to misusing it. Before reading the doc in detail, and after reading about pickle and other options to make data persistent, I passed np.savez a list of ndarrays. It didn't complain, but when I loaded the