ppmt

numpy_financial.ppmt(rate, per, nper, pv, fv=0, when='end')

Compute the payment against loan principal.

Parameters
ratearray_like

Rate of interest (per period)

perarray_like, int

Amount paid against the loan changes. The per is the period of interest.

nperarray_like

Number of compounding periods

pvarray_like

Present value

fvarray_like, optional

Future value

when{{‘begin’, 1}, {‘end’, 0}}, {string, int}

When payments are due (‘begin’ (1) or ‘end’ (0))

See also

pmt, pv, ipmt