Calculating Mortgage Payments in Python

We can use Python to calculate mortgage payments when purchasing a home. Let’s consider the following: Home cost: $430,000Down payment: 6%Interest rate: 3.12%Insurance: $131Property taxes: 0.086%Loan type: 30-year fixed We begin by importing numpy and calculating the down payment. Based on the calculations below, we see the down payment will cost $25,800, leaving a balance…… Continue reading Calculating Mortgage Payments in Python

Looking at Data

One of the more interesting things one can do with Python is manipulate and plot data. However, before doing either, it is often a good idea to take a look at the data you’re working with. In the example below, we begin by importing the Pandas package. Then we read a CSV file off my…… Continue reading Looking at Data

Published
Categorized as dataframes

For Loops

Crafting scripts properly in Python has always been a challenge for me. However, I think I’m getting a better understanding of how they work and how to make them work properly. One of the most common loops one may find in Python, especially in data analysis, is the For Loop. Using the For Loop, one…… Continue reading For Loops

Dictionaries in Python

A dictionary in python is a collection of unordered data. By unordered, we mean it is not in any particular order. To contrast this concept, lists and arrays in Python contain ordered data with an index. The value of the first item in the list is always that value unless it is changed. The most…… Continue reading Dictionaries in Python

Learning Python

My first introduction to Python came back in 2017. I wanted to get into data analysis and from what all the blogs said, Python was the way to go. I signed up for online training through a website called DataCamp and began learning Python. At this stage, it was mostly for data analysis. I went…… Continue reading Learning Python

Published
Categorized as Python