summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-20 11:05:09 -0600
committerCharles Harris <charlesr.harris@gmail.com>2020-11-19 12:44:52 -0700
commitc773eb14b832a99ac9d720775b26f7987f9bfa93 (patch)
treec13112456dcad55e34aa7e056d0e06f816a3dd79 /doc/release
parent8fee756d8c9d2f5fe211fd9feb999c0da8a89821 (diff)
downloadnumpy-c773eb14b832a99ac9d720775b26f7987f9bfa93.tar.gz
DOC: Add gh-15121 to NumPy 1.20.0 release notes.
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/upcoming_changes/15121.new_function.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/15121.new_function.rst b/doc/release/upcoming_changes/15121.new_function.rst
new file mode 100644
index 000000000..004fec1b0
--- /dev/null
+++ b/doc/release/upcoming_changes/15121.new_function.rst
@@ -0,0 +1,6 @@
+The random.Generator class has a new ``permuted`` function.
+-----------------------------------------------------------
+The new function differs from ``shuffle`` and ``permutation`` in that the
+subarrays indexed by an axis are permuted rather than the axis being treated as
+a separate 1-D array for every combination of the other indexes. For example,
+it is now possible to permute the rows or columns of a 2-D array.