Posts

Showing posts from June, 2019

PyLab and Mortgage Example

Image
It has been a long time since I made a post.  I have a lot of things going on and really only have time to post when I am not too busy. In this post, I am working with Guttag's mortgage example for PyLab.   This comes from chapter 11 of his book. The example compares 3 different mortgages. Here are the charts I created using Pylab: The charts are saved in he  format.  To see the the example, please see Guttag's book on Python.  The question is- as always- is Pylab easy to work with for making graphs?  This depends.  I know a lot of people who find it easier to make graphs in R or Tableau. They also like the quality of the graphs in R and Tableau.  In Python, making graphs is not as easy as R or Tableau but the formers are both functional programs, while Python is a general programming language. Here is some of the code for the charts: def findPayment(loan, r, m):     """ Assumes: loan and r are floats, m an ...