Apply numpy.mean on each column with numeric values