Re: [Numpy-discussion] numpy.mean problems

2011-12-14 Thread ferreirafm
Hi Eraldo, Indeed, Pandas is a really really nice module! If it is going to take part of numpy, that's even better. Thanks for the suggestion. All the Best, Fred Eraldo Pomponi wrote: Hi Fred, Pandas has a nice interface to PyTable if you still need it:

Re: [Numpy-discussion] numpy.mean problems

2011-12-13 Thread Eraldo Pomponi
Hi Fred, I would suggest you to have a look at pandas (http://pandas.sourceforge.net/) . It was really helpful for me. It seems well suited for the type of data that you are working with. It has nice brodcasting capabilities to apply numpy functions to a set column.

Re: [Numpy-discussion] numpy.mean problems

2011-12-13 Thread ferreirafm
Hi Eraldo, Thanks for your suggestion. I was using pytables but give up after known that some very useful capabilities are sold as a professional package. However, it still useful to many printing and data manipulation and, also, it can handle extremely large datasets (which is not my case.).

Re: [Numpy-discussion] numpy.mean problems

2011-12-13 Thread Eraldo Pomponi
Hi Fred, Pandas has a nice interface to PyTable if you still need it: http://pandas.sourceforge.net/io.html#hdf5-pytables However, my intention was just to point you to pandas because it is really a powerful tool if you need to deal with tabular heterogenic data. It is also important to notice

Re: [Numpy-discussion] numpy.mean problems

2011-12-13 Thread David Verelst
Note that the pytables pro you are referring to is no longer behind a pay wall. Recently the project went through some changes and the pro versions disappeared. All pro features where merged into the main project and, are as a consequence, also available for free. Regards, David On 13/12/11

Re: [Numpy-discussion] numpy.mean problems

2011-12-11 Thread ferreirafm
Aronne Merrelli wrote: I can recreate this error if tab is a structured ndarray - what is the dtype of tab? If that is correct, I think you could fix this by simplifying things. Since tab is already an ndarray, you should not need to convert it back into a python list. By converting

Re: [Numpy-discussion] numpy.mean problems

2011-12-10 Thread Aronne Merrelli
On Sat, Dec 10, 2011 at 5:47 AM, ferreirafm ferreir...@lim12.fm.usp.brwrote: Hi Stéfan, Thanks for your replay. Have a look in the arrays at: http://ompldr.org/vYm83ZA Regards, Fred -- I can recreate this error if tab is a structured ndarray - what is the dtype of tab? If that is

[Numpy-discussion] numpy.mean problems

2011-12-09 Thread ferreirafm
Hi everyone, I'm quite new to numpy and python either. Could someone, please, tell me what I'm doing wrong? Here goes my peace of code: def stats(filename): Utilility to perform some basic statistics on columns. tab = get_textab(filename) stat_list = [ ] for row in sort_tab(tab):

Re: [Numpy-discussion] numpy.mean problems

2011-12-09 Thread Stéfan van der Walt
On Fri, Dec 9, 2011 at 11:47 AM, ferreirafm ferreir...@lim12.fm.usp.br wrote: Hi everyone, I'm quite new to numpy and python either. Could someone, please, tell me what I'm doing wrong? Here goes my peace of code: def stats(filename):    Utilility to perform some basic statistics on