This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.random.random_integers

numpy.random.random_integers(low, high=None, size=None)

Return random integers x such that low <= x <= high.

If high is None, then 1 <= x <= low.

Previous topic

numpy.random.randint

Next topic

numpy.random.random_sample

This Page

Quick search