diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-04-10 08:36:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-10 08:36:53 +0300 |
commit | 3837444977aaa207c0ce031ad0167ea0e2400506 (patch) | |
tree | 07a44499a7d1d31422cc965a9b73e10528a58af7 /doc/release | |
parent | c5413e780a90c0f636d563b0d31ad812131aac0c (diff) | |
parent | d6a8cabd725e93a1dcfc03f0b4154dd96fd4ce8f (diff) | |
download | numpy-3837444977aaa207c0ce031ad0167ea0e2400506.tar.gz |
Merge branch 'master' into isfinite-datetime
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 11 |
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 ======= |