summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Fox-Rabinovitz <madphysicist@users.noreply.github.com>2020-06-06 03:35:59 -0400
committerGitHub <noreply@github.com>2020-06-06 03:35:59 -0400
commit47fc2bfb95c08ad842263c5f56e0caf59ab6918d (patch)
treec998a0925d1f75d11db63b6279ce8159318100f2
parenta5d021a1b6f439a19812926bc4d796ef5f346c44 (diff)
downloadnumpy-47fc2bfb95c08ad842263c5f56e0caf59ab6918d.tar.gz
DOC: Minor rounding correction in Generator.binomial
Changed 38.88 from 38 to 39
-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%.
"""