সম্পাদনা
from scipy import spatial first = [ [1, 2], [3, 4] ] second = [ [5, 6], [7, 8] ] result = spatial.distance.cdist( first, second ) print(result)
পূর্বরূপ