Okay, so I’ve been wanting to dig into some baseball stats for a while, and today I finally did it. I wanted to see how players performed in the Mets vs. Dodgers game, so I started by finding a good source for the data.

Finding the Data
I poked around a bit and, sure enough, found a good source with play-by-play data and all the stats I could want.
Scraping and Cleaning
- First step, get the raw data. I grabbed the info for the specific Mets vs. Dodgers game I was interested in.
- Next, time to tidy things up. This involved cleaning up the data format, dealing with some missing pieces of information, that kind of stuff. It took a little time, but nothing too crazy.
- After that, I had to organize it into something usable. I decided to structure it into players’ stats.
Diving into the Stats
Once I had the data all nice and organized, that’s when the fun began! I started looking at individual player performances.
I was checking out things like:
- Batting: Hits, runs, RBIs, home runs, you know, the good stuff.
- Pitching: Strikeouts, earned runs, walks, all that jazz.
- calculate special data: I want to find average score of per player.
Putting It All Together
So yeah, that’s basically what I did today. It was cool to finally spend some time with the numbers and see how different players did in that Mets-Dodgers game. I might do this more often, it was pretty fun!