Learn to Code with Baseball: Learn Python, Webscraping, Machine Learning and More, All Applied to Baseball Data
By Nathan Braun
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet, Instructional, Sports/Hobbies
Uploader: Goomer
Uploaded At: 2026-06-19 23:52:35
True pdf
Description
A hands-on, beginner-friendly guide to Python and data science — taught entirely through MLB data.
What you'll learn
All in the context of baseball, and designed so you can apply it to your own questions and do your own analysis.
Python & Pandas
The foundation of everything from data munging to web scraping to machine learning — plus the data library Pandas, statsmodels, scikit-learn, and visualization with seaborn.
Web Scraping & APIs
Next time you find a site with data you'd like to analyze, you'll know how to pull it from a public API — or build a scraper to get it yourself if there isn't one.
Machine Learning & Statistics
Learn the difference between a regression and a random forest, and know when and how to build both.
Databases & SQL
Build your own database — for player stats, opponent tendencies, whatever you like — and use SQL to get data in and out of it.