def apply(self, xvals, yvals): xx = xvals[~numpy.isnan(xvals)] yy = yvals[~numpy.isnan(yvals)] r = Stats.doMannWhitneyUTest(xx, yy) return r