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