numpy.rate(nper, pmt, pv, fv, when='end', guess=0.1, tol=1e-06, maxiter=100) [source]
Compute the rate of interest per period. Parameters:
nper : array_like Number of compounding periods pmt : array_like Payment pv : array_like Present value fv : array_like Future value when : {{?begin?, 1}, {?end?, 0}}, {string, int}, optional When payments are due (?begin? (1) or ?end? (0)) guess : float, optional Starting guess for solving the rate of interest tol : float, optional Required