📅  最后修改于: 2022-03-11 14:45:28.664000             🧑  作者: Mango
from scipy.stats import variation
A = np.random.randn(10, 10)
# max variation along rows of A;
# rows: axis=0, cols: axis=1
var = variation(A, axis=0)
idmax = np.argmax(var)
print(idmax)