NumPy · Class
np.random.Generator
Draw samples from a standard Gamma distribution using a shape parameter and scale 1. The result can be one value or an array, with float32 or float64 output.
Last updated
Syntax
random.Generator.standard_gamma(shape, size=None, dtype=np.float64, out=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
numpy.random.default_rngnumpy.random.Generatornumpy.random.Generator.integersSeedSequence