numpy.
ppmt
Compute the payment against loan principal.
Deprecated since version 1.18: ppmt is deprecated; for details, see NEP 32 [1]. Use the corresponding function in the numpy-financial library, https://pypi.org/project/numpy-financial.
Rate of interest (per period)
Amount paid against the loan changes. The per is the period of interest.
Number of compounding periods
Present value
Future value
When payments are due (‘begin’ (1) or ‘end’ (0))
See also
pmt, pv, ipmt
pmt
pv
ipmt
References
NumPy Enhancement Proposal (NEP) 32, https://numpy.org/neps/nep-0032-remove-financial-functions.html