Present value
The present value is the value of an asset today. The NumPy pv
function can calculate the present value. This function mirrors the fv
function and requires the interest rate, number of periods, and the periodic payment as well, but here we start with the future value.