Exploratory Data Analysis – House Prices – Part 1

This is part of a series: Exploratory Data Analysis – House Prices – Part 1 Exploratory Data Analysis – House Prices – Part 2 Data Science Project: Data Cleaning Script – House Prices DataSet Data Science Project: Machine Learning Model…

The Only Way To Learn Programming

I get these questions A LOT: "how do I learn programming?", "how do I start in programming?". I receive these and other variations of them all the time. This article Do you suffer from TSTC: Too Scared To Code? 5…

Function Recursion in Python

Recursion happens when a function calls itself. The concept of a function calling itself is present in both math and programming. A recursive call prevents the use of while and for loops. Beware of Recursion Of course, as with any…

Python Project: Rock, Paper, Scissors Game

Last week we learned how to make a Guessing Game. This week we will look at another beginner-friendly and famous game: Rock, Paper, Scissors. The game works like this: You choose how many turns you want: best out of 3…

Python Project: Guessing Game

This numbers guessing game is a simple game that allows you to practice many of the fundamentals of the Python language. It is a great Python project for beginners and in this article you will find not only the source…

Using zip() and enumerate() combined in Python

When using Python to work with data, it is not uncommon to have the data separated in multiple sources. So a very common initial task is to load each source of data and then combine them using some code like…

The enumerate() function in Python

The enumerate() function takes two arguments: an iterable, and an optional argument start, and returns an enumerate object with an index attached to each item of the iterable. The start argument sets the number to start the count. Code Example…

The zip() function in Python

The zip() function is particularly useful for those using python to deal with data exploration. It takes any number of iterators as arguments and returns a zip object, pairing the items in each iterator together. Code Example As you can…

Currying: Partial Argument Application with Functions in Python

Currying is a technique in mathematics and computer science named after the mathematician Haskell Curry. In simple terms, you create new functions from a function that takes multiple arguments, each derived function will then take only a single argument. This…

Learn More Than One Programming Language

There are only two kinds of languages: the ones people complain about and the ones nobody uses. The phrase above is from the creator of C++, Bjarne Stroustrup, and C++ is, until this day, one of the most used and…