numpy.rate() in Python
numpy.pmt(rate, nper, pv, fv, when = ‘end’) : This financial function helps user to compute rate of interest per period. Parameters : nper : [scalar or (M, )array] total compounding periods pmt : [scalar or (M, )array] Payment fv : [scalar or (M, )array] Future value pv : [scalar or (M, )array] pres