summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-01-06 13:56:47 +0200
committermattip <matti.picus@gmail.com>2019-01-06 14:05:44 +0200
commit217f13b955df24ba3314802071dd04b1262e1320 (patch)
treef0d719253aa7c7391067c094cb9a660e57af6479 /doc
parent608fc9808f05abb41a44f92c63242a505accc844 (diff)
downloadnumpy-217f13b955df24ba3314802071dd04b1262e1320.tar.gz
ENH: remove "Invalid value" warnings from median, percentile
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.17.0-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index c97f9a58e..c2052603d 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -69,3 +69,10 @@ lengths has improved and is on par with complex-valued FFTs.
Changes
=======
+
+``median`` and ``percentile`` family of functions no longer warn about ``nan``
+------------------------------------------------------------------------------
+
+`numpy.median`, `numpy.percentile`, and `numpy.quantile` used to emit a
+``RuntimeWarning`` when encountering an `numpy.nan`. Since they return the
+``nan`` value, the warning is redundant and has been removed.