On Tue, Aug 4, 2009 at 13:40, Gökhan Sever<[email protected]> wrote: > This is the loveliest of all solutions: > > c[isfinite(c)].mean()
I kind of like c[c == c].mean(), but only because it's a bit mind-blowing. :-) > You are all very helpful and funny. I am sure most of you spend more than 16 > hours a day in front of or by your screens :) Hey! I resemble that remark! -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
