scipy.spatial.distance.num_obs_dm
scipy.spatial.distance.braycurtis
Returns the number of original observations that correspond to a condensed distance matrix.
Y : ndarray
Condensed distance matrix.
n : int
The number of observations in the condensed distance matrix Y.