NumPy

Previous topic

numpy.random.randn

Next topic

numpy.random.random_integers

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

numpy.random.random

numpy.random.random(size=None)

Return random floats in the half-open interval [0.0, 1.0). Alias for random_sample to ease forward-porting to the new random API.