## How to Use the Pandas Assign Method to Add New Variables

In this tutorial, I'll explain how to use the Pandas assign method to add new variables to a Pandas dataframe. In this tutorial, I'll explain what the assign method does and how it works. I'll explain the syntax, and I'll show you step-by-step examples of how to use...

## How to Use Numpy Round

In this tutorial I'll explain how to use the Numpy round function (AKA, np.round). I'll explain how the function works, and I'll also show you some step-by-step examples of how to use it. Table of Contents: A Quick Introduction to Numpy Round The syntax of np.round...

## The 3 Reasons You Should Learn R for Data Science

One of the most common questions I get from data science students is which programming language should I learn for data science, R or Python? The short answer is "it depends." Both R and Python have strengths and weaknesses as data science languages, or as broader...

## A quick introduction to dplyr

There's sort of an open secret in the data science world: As a data professional, you'll spend a huge amount of time doing data preparation. Cleaning, joining, reshaping, aggregating ... These tasks make up a huge amount of your data work. Many data professionals say...

## np.random.randn Explained

In this tutorial, I'll explain how to use the np.random.randn function (AKA, Numpy random randn). The tutorial is divided up into several different sections, including a quick overview of what the function does, an explanation of the syntax, and a section that shows...

## Numpy Floor, Explained

In this tutorial, I'll explain how to use the Numpy floor function, which is sometime called np.floor. I'll explain the syntax of np.floor and how the function works. I'll also show you clear, step by step examples of how to use it. If you need something specific, you...

## The Best Python Package for Data Visualization

Data visualization is extremely important in data science. Although you often hear about the importance of data manipulation (i.e., "80% of data science is data manipulation"), data visualization is just as important. I explained why in a recent blog post about why...

## Why You Need to Master Data Visualization

One of the biggest questions from data science students is what to focus on. All of us have limited time and there is a lot to learn in data science. Many overzealous students throw caution to the wind, and immediately try to learn advanced topics like machine...