📜  numpy 获取数组的方差 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:59.701000             🧑  作者: Mango

代码示例1
import numpy as np

x = [1,2,3,4,5]
variance = np.var(x)