📊 Dataset · CSV
foul_balls.csv dataset
Download foul_balls.csv free (905 rows × 7 columns, 54.7 KB). Preview the rows and columns, load it in pandas in one line and practise with 2 Python lessons.
- Size54.7 KB
- Rows905
- Columns7
- Used in2 lessons
Preview (first rows)
| matchup | game_date | type_of_hit | exit_velocity | predicted_zone | camera_zone | used_zone |
|---|---|---|---|---|---|---|
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Ground | 1 | 1.0 | 1 | |
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Fly | 4 | 4 | ||
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Fly | 56.9 | 4 | 4 | |
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Fly | 78.8 | 1 | 1.0 | 1 |
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Fly | 2 | 2 | ||
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Ground | 1 | 1.0 | 1 | |
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Fly | 74.8 | 2 | 2 | |
| Seattle Mariners VS Minnesota Twins | 2019-05-18 | Ground | 1 | 1.0 | 1 |
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
matchup | text | 0 | Seattle Mariners VS Minnesota Twins |
game_date | text | 0 | 2019-05-18 |
type_of_hit | text | 0 | Ground |
exit_velocity | decimal | 326 | 56.9 |
predicted_zone | integer | 0 | 1 |
camera_zone | decimal | 512 | 1.0 |
used_zone | integer | 0 | 1 |
Load it in Python
import pandas as pd
df = pd.read_csv("foul_balls.csv")
df.head()

