summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-12-30 16:18:58 -0700
committerGitHub <noreply@github.com>2017-12-30 16:18:58 -0700
commite06d3614182e7b97d5e0d90291642027d147744b (patch)
tree3019e60ada05701e84c5b78f8824b4b98285b89a /doc
parent47cbd4063044f6a3da90e46084a63235d6d1c4df (diff)
parentce3d40e6e4b9de2f5e0179465b3cac779c3d3576 (diff)
downloadpython-numpy-e06d3614182e7b97d5e0d90291642027d147744b.tar.gz
python-numpy-e06d3614182e7b97d5e0d90291642027d147744b.tar.bz2
python-numpy-e06d3614182e7b97d5e0d90291642027d147744b.zip
Merge pull request #10287 from eric-wieser/ptp-empty
ENH: Allow ptp to take an axis tuple and keepdims
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.15.0-notes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst
index 5dce7060d..16a44113c 100644
--- a/doc/release/1.15.0-notes.rst
+++ b/doc/release/1.15.0-notes.rst
@@ -85,6 +85,11 @@ passed explicitly, and are not yet computed automatically.
though they are arrays of length 1. Previously, passing these was an error.
As a result, ``np.ma.mr_`` now works correctly on the ``masked`` constant.
+``np.ptp`` accepts a ``keepdims`` argument, and extended axis tuples
+--------------------------------------------------------------------
+``np.ptp`` (peak-to-peak) can now work over multiple axes, just like `max` and
+`min`.
+
``MaskedArray.astype`` now is identical to ``ndarray.astype``
-------------------------------------------------------------
This means it takes all the same arguments, making more code written for