Computes the Manhattan distance between two n-vectors u and v, which is defined as
\sum_i {(u_i-v_i)}.
u : ndarray
An n-dimensional vector.
v : ndarray
d : double
The City Block distance between vectors u and v.
scipy.spatial.distance.chebyshev
scipy.spatial.distance.correlation
Enter search terms or a module, class or function name.