diff options
author | Stephan Hoyer <shoyer@gmail.com> | 2016-03-26 11:59:37 -0700 |
---|---|---|
committer | Stephan Hoyer <shoyer@gmail.com> | 2016-03-26 11:59:37 -0700 |
commit | ef389eec83d23e9159c595f6ea8d78e8e7abbae3 (patch) | |
tree | d904dd1e5eb1dafe7f2cae4bf091b29bf6d9cbe6 /doc | |
parent | 4b200d27e9bfba4b28d51cd5d5132a2a4cacb8f1 (diff) | |
parent | a76b8728a71721f0b92c5fa7c0cbcc0f41cceb3e (diff) | |
download | numpy-ef389eec83d23e9159c595f6ea8d78e8e7abbae3.tar.gz |
Merge pull request #7421 from pwolfram/nancumsumprod
ENH: adds np.nancumsum and np.nancumprod
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.12.0-notes.rst | 5 | ||||
-rw-r--r-- | doc/source/reference/routines.math.rst | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst index 97ec25777..058bdaac7 100644 --- a/doc/release/1.12.0-notes.rst +++ b/doc/release/1.12.0-notes.rst @@ -127,6 +127,11 @@ Add a hook in ``numpy/__init__.py`` to import a ``numpy/_distributor_init.py`` file that will remain empty (bar a docstring) in the standard numpy source, but that can be overwritten by people making binary distributions of numpy. +New nanfunctions ``nancumsum`` and ``nancumprod`` added +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Nanfunctions ``nancumsum`` and ``nancumprod`` have been added to +compute ``cumsum`` and ``cumprod`` by ignoring nans. + Improvements ============ diff --git a/doc/source/reference/routines.math.rst b/doc/source/reference/routines.math.rst index c0be4096a..5cb1e0eec 100644 --- a/doc/source/reference/routines.math.rst +++ b/doc/source/reference/routines.math.rst @@ -58,6 +58,8 @@ Sums, products, differences nansum cumprod cumsum + nancumprod + nancumsum diff ediff1d gradient |