diff options
author | Allan Haldane <ealloc@gmail.com> | 2019-04-09 17:55:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 17:55:30 -0400 |
commit | d6a8cabd725e93a1dcfc03f0b4154dd96fd4ce8f (patch) | |
tree | 610caf78f57d255c001d6f0a188c4baa63512ab1 /doc | |
parent | 29c4b2177865592d0876dffda39436c31c6c7994 (diff) | |
parent | 000939ad2d6ec57ca1ab173243ae56350cd3b97f (diff) | |
download | numpy-d6a8cabd725e93a1dcfc03f0b4154dd96fd4ce8f.tar.gz |
Merge pull request #13219 from kikocorreoso/nan_to_num-enhancement
ENH: nan_to_num keyword addition (was #9355)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index 7857400e8..1155449a7 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -197,6 +197,12 @@ 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. +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 ======= |