This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / random / RandomState / random

cython_function_or_method

numpy.random:RandomState.random

Signature

def   random ( size = None )

Summary

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.

Aliases

  • numpy.random.random
  • numpy.random.RandomState.random