numpy.npv(rate, values) [source]
Returns the NPV (Net Present Value) of a cash flow series.
| Parameters: |
|
|---|---|
| Returns: |
|
Returns the result of: [G]
| [G] | L. J. Gitman, “Principles of Managerial Finance, Brief,” 3rd ed., Addison-Wesley, 2003, pg. 346. |
>>> np.npv(0.281,[-100, 39, 59, 55, 20]) -0.0084785916384548798 # may vary
(Compare with the Example given for numpy.lib.financial.irr)
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.npv.html