numpy / 1.22.0 / reference / random / generated / numpy.random.random.html /

numpy.random.random

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.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/random/generated/numpy.random.random.html