how to calculate mean in python?,numpy.mean(gp2)