skbio.core.distance.DistanceMatrix.shape

DistanceMatrix.shape

Two-element tuple containing the dissimilarity matrix dimensions.

Notes

As the dissimilarity matrix is guaranteed to be square, both tuple entries will always be equal.