single_point = [3, 4]
points = np.arange(20).reshape((10, 2))
dist = (points - single_point) ** 2
dist = np.sum(dist, axis=1)
dist = np.sqrt(dist)
python numpy euclidean distance calculation between matrices of row vectors