numpy.ppmt() in Python
numpy.ppmt(rate, nper, pv, fv, when = âendâ) : This financial function helps user to compute payment value as per the principal value only. Parameters : rate : [scalar or (M, )array] Rate of interest as decimal (not per cent) per period nper : [scalar or (M, )array] total compounding periods fv : [s