[issue37439] Add random.binomialvariate()

Gregory P. Smith report at bugs.python.org
Tue May 25 13:51:45 EDT 2021


Gregory P. Smith <greg at krypto.org> added the comment:

A presumed optimal version of this is already available in numpy.

https://numpy.org/doc/stable/reference/random/generated/numpy.random.Generator.binomial.html

https://github.com/numpy/numpy/blob/2232a473f8713f532c8164c8cf616f7bd05f54a7/numpy/random/_generator.pyx#L2805

----------
nosy: +gregory.p.smith
versions: +Python 3.11 -Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37439>
_______________________________________


More information about the Python-bugs-list mailing list