skbio.stats.distance.DistanceMatrix.__str__

DistanceMatrix.__str__()[source]

Return a string representation of the dissimilarity matrix.

State: Experimental as of 0.4.0.

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

Returns:

str

String representation of the dissimilarity matrix.