Data Project: Get and Analyze ‘Quality of Life’ Data for World Cities

An image of Lisbon, Portugal with the heading "Data Project: Finding Great Cities"

I have a confession. I’m an American, and I was raised an American. But, I’ve been semi-nomadic for almost 10 years. A “digital nomad.” That is, I’ve lived in many countries around the world since about 2014 (although, I also lived a substantial amount of time in Austin, Texas during the last 10 years). I’m … Read more

How to do Simple EDA for Machine Learning

An old image of the Titanic in Belfast, Ireland, with the Python logo off to the upper right hand side of the image.

In this tutorial, I’ll show you how to do some simple exploratory data analysis (EDA) for a machine learning project. In this tutorial, we’ll look at the Titanic dataset, which is commonly used in machine learning tutorials, and has previously been used as a Kaggle dataset. This tutorial will really only scratch the surface. There’s … Read more

Why Python is the Best Data Science Language (in 2023)

An image suggesting that Python is the best data science language.

The first question that aspiring data scientists ask me is “what is the best data science language … which should I learn.” And almost always, this is framed as a decision between R and Python. If you’re wondering which language you should learn first … And especially if you’re interested in artificial intelligence. Then keep … Read more

Numpy Transpose, Explained

An image that shows how Numpy transpose restructures the axes of a Numpy array.

In this tutorial, I’ll show you how to use the Numpy transpose function. I’ll explain what the function does, how the syntax works, and I’ll show you step-by-step examples of how to use it. If you need something specific, you can just click on any of the following links. Table of Contents: Introduction Syntax Examples … Read more

Numpy Min, Explained

An image that shows how Numpy min identifies the minimum values of a Numpy array.

This tutorial will show you how to use the Numpy min function (AKA, np.min). It explains what the function does at a high level, explains the syntax, and shows clear, step-by-step examples of how to use np.min. If you need anything specific, you can click any of the links below? Table of Contents: Introduction Syntax … Read more

Numpy Savez, Explained

An image that shows how Numpy savez saves multiple Numpy arrays to a single .npz file.

This tutorial will show you how to save multiple Numpy datasets in a single .npz file with Numpy savez. It explains what the np.savez does, explains the syntax, and shows step-by-step examples of how to use Numpy savez. If you need something specific, just click on any of the following links. Table of Contents: Introduction … Read more