summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2019-04-18 18:34:32 -0600
committerGitHub <noreply@github.com>2019-04-18 18:34:32 -0600
commit32acbd34aa334771afdac602badca8dea66f1332 (patch)
tree7be05fbd96e585ec20281df23c2d88fc339285e4 /doc/release
parent842970f1aaa710b31ebd27427035b58b265e55a8 (diff)
parent3837444977aaa207c0ce031ad0167ea0e2400506 (diff)
downloadnumpy-32acbd34aa334771afdac602badca8dea66f1332.tar.gz
Merge pull request #13218 from debsankha/isfinite-datetime
ENH: `isfinite` support for `datetime64` and `timedelta64`
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 893ec9b45..7bf6bf949 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -202,6 +202,11 @@ 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`` 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