On Tue, Aug 4, 2009 at 1:40 PM, Gökhan Sever<[email protected]> wrote: > This is the loveliest of all solutions: > > c[isfinite(c)].mean()
This handling of nonfinite elements has come up before. Please remember that this only for 1d or flatten array so it not work in general especially along an axis. Bruce _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
