summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStephan Hoyer <shoyer@gmail.com>2016-03-26 11:59:37 -0700
committerStephan Hoyer <shoyer@gmail.com>2016-03-26 11:59:37 -0700
commitef389eec83d23e9159c595f6ea8d78e8e7abbae3 (patch)
treed904dd1e5eb1dafe7f2cae4bf091b29bf6d9cbe6 /doc
parent4b200d27e9bfba4b28d51cd5d5132a2a4cacb8f1 (diff)
parenta76b8728a71721f0b92c5fa7c0cbcc0f41cceb3e (diff)
downloadnumpy-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.rst5
-rw-r--r--doc/source/reference/routines.math.rst2
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