scipy.spatial.distance.num_obs_y#

scipy.spatial.distance.num_obs_y(Y)[source]#

Return the number of original observations that correspond to a condensed distance matrix.

Parameters
Yarray_like

Condensed distance matrix.

Returns
nint

The number of observations in the condensed distance matrix Y.