numpy.pmt(rate, nper, pv, fv=0, when='end') [source]
Compute the payment against loan principal plus interest. Given:
a present value, pv (e.g., an amount borrowed) a future value, fv (e.g., 0) an interest rate compounded once per period, of which there are
nper total and (optional) specification of whether payment is made at the beginning (when = {?begin?, 1}) or the end (when = {?end?, 0}) of each period Return: the (fixed) periodic payment. Parameters:
rate : array_like Rate of inte