### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »

# scipy.stats.itemfreq

`scipy.stats.``itemfreq`(a)

  Returns a 2D array of item frequencies.

  Column 1 contains item values, column 2 contains their respective counts. Assumes a 1D array is passed.

  Parameters: | a : array
  Returns: | A 2D frequency table (col [0:n-1]=scores, col n=frequencies) :

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Statistical functions (`scipy.stats`) »