BTW, I found nanmean and nanstd in scipy.stats.stats will be good for my case too.
On 6/25/07, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > On 6/25/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote: > > Masked array seems definitely to be the way to go, thanks a lot. > > > > I must say that this entire issue doesn't make much sense to me: my > > understanding is the a NaN is different from an INF, therefore one > > would assume that really there is no reason why a not-number should > > not be ignored by default by all the array manipulating functions. > > Strictly speaking, it should be propagated, i.e., the sum and average should > be NaNs also. I don't know why that didn't happen. > > Chuck > > > > _______________________________________________ > Numpy-discussion mailing list > Numpy-discussion@scipy.org > http://projects.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion