python计算方差np.std()和df.std()的区别

当参数ddof=0是,除以nddof=1时,除以n-1
np.std() 默认除以n,即默认参数ddof=0
df.std() 默认除以n-1,即默认参数ddof=1
np.mean()和np.std()函数