[Numpy-svn] [numpy/numpy] a76b87: ENH: adds np.nancumsum and np.nancumprod

GitHub noreply at github.com
Sat Mar 26 14:59:38 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: a76b8728a71721f0b92c5fa7c0cbcc0f41cceb3e
      https://github.com/numpy/numpy/commit/a76b8728a71721f0b92c5fa7c0cbcc0f41cceb3e
  Author: Phillip J. Wolfram <phillipwolfram at gmail.com>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst
    M doc/source/reference/routines.math.rst
    M numpy/lib/nanfunctions.py
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  ENH: adds np.nancumsum and np.nancumprod

This PR adds an implementation of `nancumsum` and `nancumprod`.

The actual function is a two-liner adapted from `nansum`.

Its structure is adapted from PR: https://github.com/numpy/numpy/pull/5418/


  Commit: ef389eec83d23e9159c595f6ea8d78e8e7abbae3
      https://github.com/numpy/numpy/commit/ef389eec83d23e9159c595f6ea8d78e8e7abbae3
  Author: Stephan Hoyer <shoyer at gmail.com>
  Date:   2016-03-26 (Sat, 26 Mar 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst
    M doc/source/reference/routines.math.rst
    M numpy/lib/nanfunctions.py
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  Merge pull request #7421 from pwolfram/nancumsumprod

ENH: adds np.nancumsum and np.nancumprod


Compare: https://github.com/numpy/numpy/compare/4b200d27e9bf...ef389eec83d2


More information about the Numpy-svn mailing list