Find Number of Payments in a Loan with Python & NumPy Financial nper Function

Поделиться
HTML-код
  • Опубликовано: 6 фев 2022
  • @MattMacarty
    #python #finance #nper
    alphabench.com/data/python-nu...
    How to pay off your 30-year mortgage loan in 10 years
    ✅ Please SUBSCRIBE:
    ruclips.net/user/subscription_...
    Calculate the number loan payments in Python
    What happens if you add a little money to your loan payment?
    Which Python libraries do you use to calculate a loan payment like Excel?
    How do you calculate when a loan will be paid off in Python?
    NumPy Financial is a small stand-alone Python module of legacy NumPy functionality that was split off in NumPy 1.17. The module contains basic "spreadsheet" style functions for dealing with common time value of money models.
    ✅ The notebook used in this demonstration can be downloaded from:
    github.com/mjmacarty/numpy_fi...
    Python for Finance example:
    This video demonstrates several use cases for the nper (number payments) function in NumPy Financial. Learn how to automate loan analysis.

Комментарии • 2

  • @technologytopper9202
    @technologytopper9202 4 месяца назад

    How to implement CUMPRINC in python?

    • @MattMacarty
      @MattMacarty  4 месяца назад

      Probably write a function would be the easiest. NumPy financial has a function for principal paid you can sum this up and make a column in the DataFrame using .apply with your function