📅  最后修改于: 2022-03-11 14:47:10.800000             🧑  作者: Mango
>>> from scipy.spatial import distance
>>> distance.euclidean([1, 0, 0], [0, 1, 0])
1.4142135623730951
>>> distance.euclidean([1, 1, 0], [0, 1, 0])
1.0