numpy.npv()
numpy.npv
-
numpy.npv(rate, values)
[source] -
Returns the NPV (Net Present Value) of a cash flow series.
Parameters: rate : scalar
The discount rate.
values : array_like, shape(M, )
The values of the time series of cash flows. The (fixed) time interval between cash flow “events” must be the same as that for which
rate