diff options
author | James Gerity <snoopjedi@gmail.com> | 2021-01-26 17:06:23 -0500 |
---|---|---|
committer | James Gerity <snoopjedi@gmail.com> | 2021-01-26 17:06:23 -0500 |
commit | edab247184252508b51f6012bcf86c438d1f596e (patch) | |
tree | 32959b2ea07b3aced425feefd830a84fce9e0c2e | |
parent | 25885174d684d4eb9e162c09fd91e8296241df6e (diff) | |
download | numpy-edab247184252508b51f6012bcf86c438d1f596e.tar.gz |
Mark example as random
-rw-r--r-- | numpy/random/_generator.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index cba13ed59..93b1d6160 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -669,7 +669,7 @@ cdef class Generator: replacement: >>> rng.choice([[0, 1, 2], [3, 4, 5], [6, 7, 8]], 2, replace=False) - array([[3, 4, 5], + array([[3, 4, 5], # random [0, 1, 2]]) Generate a non-uniform random sample from np.arange(5) of size |