numpy.bincount

Count number of occurrences of each value in array of non-negative ints. The number of bins (of size 1) is one larger than the largest value in x.

numpy.unique

Reconstruct the input values from the unique values and counts:.

numpy.histogram

While bin width is computed to be optimal based on the actual data within range, the bin count will fill the entire range including portions containing no ...

numpy.ndarray.size

Number of elements in the array. Equal to np.prod(a.shape) , i.e., the product of the array's dimensions. Notes. a.size returns a ...

numpy.ma.count

ma.count(self, axis=None, keepdims=<no value>) = <numpy.ma.core._frommethod object>#. Count the non-masked elements of the array along the given axis.

numpy.frombuffer

Data-type of the returned array; default: float. countint, optional. Number of items to read. -1 means all data in the buffer.

numpy.memmap

By default, the returned array will be 1-D with the number of elements ...

numpy.vectorize

If True, then cache the first function call that determines the number of outputs if ...

numpy.fromfile

countint. Number of items to read. -1 means all items (i.e., the complete file). sepstr. Separator between items if file is a text file.

numpy.var

then keepdims will not be passed through to the var method of sub-classes of ...