The stock market can seem like a mysterious place to a beginner investor. It’s a place where you can make (or lose) money, but it seems so complicated that people don’t know where to even start. Luckily, we’re here to help! Here are the top 10 tips for getting started in the stock market: 1.…… Continue reading Beginner Investor: Get Started in the Stock Market
Blog
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
Python and Time Value of Money
Let’s take a look at how to use Python to determine the future and present value of money. To do this, we’re going to look at the current PowerBall Jackpot and see how much a potential winner might get. As of Saturday, March 13, 2021, the current jackpot is $169 million. According to the PowerBall…… Continue reading Python and Time Value of Money
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
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