Numpy
ph
bincount
Count number of occurrences of each value in array of non-negative ints. https://docs.scipy.org/doc/numpy/reference/generated/numpy.bincount.html
{c|loadtxt}}
numpy.loadtxt(fname, dtype=<type 'float'>, comments='#', delimiter=None, converters=None, skiprows=0, usecols=None, unpack=False, ndmin=0)
https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html