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