diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-09-02 13:36:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 20:36:37 +0300 |
commit | f1d0378d3735aa97a86af3b87b8a9d9ee4575af7 (patch) | |
tree | 4c5b6fb284fb9e26ac05202ccf67da6bb6e7dea7 /numpy/core/fromnumeric.py | |
parent | f7cb42d52f121656b0a96ad5a9bc5c44506d2cce (diff) | |
download | numpy-f1d0378d3735aa97a86af3b87b8a9d9ee4575af7.tar.gz |
ENH: random: Add the method `permuted` to Generator. (#15121)
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.
* ENH: random: Add the method `permuted` to Generator.
The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.
Closes gh-5173.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions