> > > > If there are no NaNs, you only need to make 2 masks by using ones > instead of empty. Not elegent but a little faster. > Good point! Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090917/e57f0bd0/attachment.html