skbio.core.distance.DistanceMatrix.__str__

DistanceMatrix.__str__()[source]

Return a string representation of the dissimilarity matrix.

Summary includes matrix dimensions, a (truncated) list of IDs, and (truncated) array of dissimilarities.

Returns:

str

String representation of the dissimilarity matrix.