pdist# scipy.spatial.distance.pdist(X, metric='euclidean', *, out=None, **kwargs)[source]# Pairwise distances between observations in n-dimensional space. See Notes for common calling conventions. Parameters: Xarray_likeAn m by n array of m original observations in an n-dimensional space. metricstr or function, optionalThe distance metric to use. The distance function can be ‘braycurtis’, ‘canberr