numpy.ppmt
-
numpy.ppmt(rate, per, nper, pv, fv=0, when='end')[source] -
Compute the payment against loan principal.
Deprecated since version 1.18:
ppmtis deprecated; for details, see NEP 32 [1]. Use the corresponding function in the numpy-financial library, https://pypi.org/project/numpy-financial.- Parameters
-
-
ratearray_like -
Rate of interest (per period)
-
perarray_like, int -
Amount paid against the loan changes. The
peris 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))
-
References
-
1 -
NumPy Enhancement Proposal (NEP) 32, https://numpy.org/neps/nep-0032-remove-financial-functions.html
© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.ppmt.html