在计算均值时,numpy提供了两个现成的函数,np.mean() 和np.average() 区别在于:np.mean() 只能计算算数平均值,而np.average() 通过添加weights ...
確定! 回上一頁