ipmort numpy as np #求平均值 np.mean(array>9)#返回百分比值(不是百分位数) np.mean(array,axis=1) #二位矩阵,axis=1 求row的均值。axis=0,求列的均值。