I've got a numpy array filled mostly with real numbers, but there is a few nan values in it as well. How can I replace the nans with averages of columns where they are? Continue reading...