numpy array: replace nan values with average of columns,"ma.array(a, mask=np.isnan(a))"