## When R is Better

Recently, I wrote a blog post stating that I’m starting to use Python for most of my data science work. And I’m starting to recommend Python as the data science language to use for most beginners. But is it always best? No. As always, it depends: As I like to ask people: “Who are you … Read more

## Why R is My Favorite Language for “First Time” Data Scientists

Probably the most common question I get from new data science students is, “Which language should I learn … R or Python?” This is a somewhat complex question to answer, because it depends on who you are and what your goals are. Having said that, I do have a preference for first time data scientists. … Read more

## How to use the Pandas Replace Technique

In this tutorial, I’ll explain how to use the Pandas replace technique to change values inside of a Pandas dataframe. I’ll explain what the technique does, explain the syntax, and show you step-by-step examples. If you need something specific, you can click on any of the following links. Table of Contents: Introduction Syntax Examples Frequently … Read more

## Pandas Mean, Explained

In this tutorial, I’ll show you how to use the Pandas mean technique. The mean() technique calculates the mean of the the numeric values in a Pandas dataframe or Pandas series. So in the tutorial, I’ll explain how we use the technique, how the syntax works, and I’ll show you step-by-step examples. If you need … Read more

## Pandas Sum, Explained

In this tutorial, I’ll show you how to use the Pandas sum technique. The sum() technique sums up the numeric values in a Pandas dataframe or Pandas series. So in the tutorial, I’ll explain how we use the technique, how the syntax works, and I’ll show you step-by-step examples. If you need something specific, just … Read more

## Pandas Count, Explained

In this tutorial, I’ll show you how to use the Pandas count technique to count the records in a Pandas dataframe. I’ll explain exactly what the technique does, how the syntax works, and I’ll show you step-by-step examples so you can see Pandas count in action. If you need something specific, just click on any … Read more

## The ultimate guide to the ggplot boxplot

This tutorial will explain how to create a ggplot boxplot. It explains the syntax, and shows clear, step-by-step examples of how to create a boxplot in R using ggplot2. If you need something specific, you can click on any of the following links, and it will take you to the appropriate section in the tutorial: … Read more

## The 5 Python Skills You Need Before You Study Machine Learning

Machine learning is a very powerful skill. And machine learning is a valuable skill. According to Glassdoor, the average salary for a machine learning engineer is about \$127,000 in early 2021. If you already know some Python, then upskilling to add machine learning to your skill set could increase your earning power a lot. The … Read more

## 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 programming languages. So here in this blog post, I … Read more

## Master the core, then expand

Last week, I wrote a blog post explaining that it’s actually hard to master data science ultra fast. In order to master data science at an accelerated rate, you need to do a lot of things correctly. You need to work hard, and you need to do things that most students aren’t willing to do. … Read more