Re: [Numpy-discussion] can I mapping a np.darray class with a text file instead of reading the file in to mem?

2010-10-04 Thread Sebastian Haase
Hi, if you have 3 cols of 10 000 000 lines, that should add up 30 Mega-numbers. That is 240 MB for double, and 120 MB for single precision. That should not require a 64bit OS. You probably have a problem because reading from text is using extra memory. Can you not convert the file line-by-line

Re: [Numpy-discussion] ndarray of object dtype

2010-10-04 Thread Robert Kern
On Mon, Oct 4, 2010 at 00:41, Ioan Ferencik ioan.feren...@tkk.fi wrote: Hello list, I am trying to pass elements of a custom defined with C API. I have successfully wrapped a type around a C struct. I intent to create a list with these objects and process it using numpy C API. So i  create