summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-06-08 07:39:54 -0600
committerGitHub <noreply@github.com>2020-06-08 07:39:54 -0600
commitee60cc9164e5a20b98ee6722e25b0df41e411675 (patch)
tree3e978f1158eff35ac483c865e900fe9561964464 /numpy/random
parent5451fcb06d5ae7cd3f4a9a02314d6e574bd4c83c (diff)
parent47fc2bfb95c08ad842263c5f56e0caf59ab6918d (diff)
downloadnumpy-ee60cc9164e5a20b98ee6722e25b0df41e411675.tar.gz
Merge pull request #16510 from madphysicist/patch-1
DOC: Minor rounding correction in Generator.binomial
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/_generator.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx
index 2e54dce5f..2140ec4c3 100644
--- a/numpy/random/_generator.pyx
+++ b/numpy/random/_generator.pyx
@@ -2779,7 +2779,7 @@ cdef class Generator:
generate zero positive results.
>>> sum(rng.binomial(9, 0.1, 20000) == 0)/20000.
- # answer = 0.38885, or 38%.
+ # answer = 0.38885, or 39%.
"""