summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-04-10 08:36:53 +0300
committerGitHub <noreply@github.com>2019-04-10 08:36:53 +0300
commit3837444977aaa207c0ce031ad0167ea0e2400506 (patch)
tree07a44499a7d1d31422cc965a9b73e10528a58af7 /doc/release
parentc5413e780a90c0f636d563b0d31ad812131aac0c (diff)
parentd6a8cabd725e93a1dcfc03f0b4154dd96fd4ce8f (diff)
downloadnumpy-3837444977aaa207c0ce031ad0167ea0e2400506.tar.gz
Merge branch 'master' into isfinite-datetime
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 7777c8f05..a11c008ed 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -197,11 +197,18 @@ The boolean and integer types are incapable of storing ``np.nan`` and ``np.inf``
which allows us to provide specialized ufuncs that are up to 250x faster than the current
approach.
-``np.isfinite`` ufunc supports ``datetime64`` and ``timedelta64`` types
------------------------------------------------------------------------
+``np.isfinite`` supports ``datetime64`` and ``timedelta64`` types
+-----------------------------------------------------------------
Previously, `np.isfinite` used to raise a ``TypeError`` on being used on these
two types.
+New keywords added to ``np.nan_to_num``
+---------------------------------------
+``np.nan_to_num`` now accepts keywords ``nan``, ``posinf`` and ``neginf`` allowing the
+user to define the value to replace the ``nan``, positive and negative ``np.inf`` values
+respectively.
+
+
Changes
=======