### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Clustering package (`scipy.cluster`) »
- Hierarchical clustering (`scipy.cluster.hierarchy`) »

# scipy.cluster.hierarchy.num_obs_linkage

`scipy.cluster.hierarchy.``num_obs_linkage`(Z)

  Returns the number of original observations of the linkage matrix passed.

  Parameters : | Z : ndarray The linkage matrix on which to perform the operation.
  Returns : | n : int The number of original observations in the linkage.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Clustering package (`scipy.cluster`) »
- Hierarchical clustering (`scipy.cluster.hierarchy`) »