Premium Project

A New Era of Data Analysis in Baseball

Use MLB's Statcast data to compare New York Yankees sluggers Aaron Judge and Giancarlo Stanton.

  • 10 tasks
  • 2,912 participants
  • 1,500 XP

Project Description

There's a new era of data analysis in baseball. Using a new technology called Statcast, Major League Baseball is now collecting the precise location and movements of its baseballs and players. In this project, you will use Statcast data to compare the home runs of two of baseball's brightest (and largest) stars, Aaron Judge (6'7") and Giancarlo Stanton (6'6"), both of whom now play for the New York Yankees.

To complete this project you should be comfortable with pandas and basic data visualization in Python. Check out our Intermediate Python for Data Science and Introduction to Data Visualization with Python courses to get familiar or brush up on your skills.

The dataset used in this project is from Baseball Savant.

Project Tasks

  • 1 The Statcast revolution
  • 2 What can Statcast measure?
  • 3 Aaron Judge and Giancarlo Stanton, prolific sluggers
  • 4 Analyzing home runs with Statcast data
  • 5 Home runs by pitch velocity
  • 6 Home runs by pitch location (I)
  • 7 Home runs by pitch location (II)
  • 8 Aaron Judge's home run zone
  • 9 Giancarlo Stanton's home run zone
  • 10 Should opposing pitchers be scared?
David Venturi
David Venturi

Instructor at DataCamp

David is the Curriculum Lead for DataCamp Projects. After majoring in Chemical Engineering and Economics, David created a personalized data science master's program using online resources. He has studied hundreds of online courses and created several as a Content Developer. You can follow him on Twitter at @venturidb.

See More
  • Python
  • Icon Icon Icon professional info