This is documentation for an old release of SciPy (version 0.8.). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
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) : |