DissimilarityMatrix.
index
(lookup_id)[source]¶Return the index of the specified ID.
State: Experimental as of 0.4.0.
lookup_id (str) – ID whose index will be returned.
Row/column index of lookup_id.
int
MissingIDError – If lookup_id is not in the dissimilarity matrix.