Skip to content

Commit

Permalink
DOC: Fixed the Incorrect output
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavukkalra authored Apr 3, 2022
1 parent 6892ab1 commit e5e0e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/random/_generator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4590,7 +4590,7 @@ cdef class Generator:
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> rng.shuffle(arr)
>>> arr
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) # random
array([2, 0, 7, 5, 1, 4, 8, 9, 3, 6]) # random
>>> arr = np.arange(9).reshape((3, 3))
>>> arr
Expand Down

0 comments on commit e5e0e4e

Please sign in to comment.