numpy.ipmt()
numpy.ipmt
-
numpy.ipmt(rate, per, nper, pv, fv=0.0, when='end')
[source] -
Compute the interest portion of a payment.
Parameters: rate : scalar or array_like of shape(M, )
Rate of interest as decimal (not per cent) per period
per : scalar or array_like of shape(M, )
Interest paid against the loan changes during the life or the loan. The
per
is the payment period to calculate the interest amount.nper