find euclidean distance between two vectors in python function code example Example: numpy euclidean distance dist = numpy.linalg.norm(a-b)