scipy.spatial
scipy.spatial.distance.is_valid_y
scipy.spatial.distance.num_obs_y
scipy.spatial.distance.
num_obs_dm
Returns the number of original observations that correspond to a square, redundant distance matrix.
d : ndarray
The target distance matrix.
num_obs_dm : int
The number of observations in the redundant distance matrix.