Return the Internal Rate of Return (IRR).
This is the rate of return that gives a net present value of 0.0.
values : array_like, shape(N,)
Input cash flows per time period. At least the first value would be negative to represent the investment in the project.
out : float
Internal Rate of Return for periodic input values.
Examples
>>> np.irr([-100, 39, 59, 55, 20]) 0.2809484211599611
numpy.ipmt
numpy.mirr