summaryrefslogtreecommitdiff
path: root/changelog/13829.enhancement.rst
blob: ede1b2a5314f65e5818891d0075e06680dca7747 (plain)
1
2
3
4
5
6
Add ``axis`` argument for ``random.permutation`` and ``random.shuffle``
-----------------------------------------------------------------------

Previously the ``random.permutation`` and ``random.shuffle`` functions
can only shuffle an array along the first axis; they now have a
new argument ``axis`` which allows shuffle along a specified axis.