diff options
-rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index 27689a9e1..4761c6907 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -984,7 +984,7 @@ cdef class RandomState: >>> np.random.choice(5, 3, replace=False) array([3,1,0]) - >>> #This is equivalent to np.random.shuffle(np.arange(5))[:3] + >>> #This is equivalent to np.random.permutation(np.arange(5))[:3] Generate a non-uniform random sample from np.arange(5) of size 3 without replacement: |