Learn Coding & Data Science Fundamentals with Fantasy Football

Python. Web Scraping. Databases. SQL. Statistics. Machine Learning. APIs.

What is the most important thing in learning to code?
It's finding a project you're excited about.

What You Get

Includes: 170 page ebook, 16 example Python scripts, 3 datasets, and more than 300 Anki questions to help you remember what you've read.

Want to see what the book covers? Check out the table of contents!

Learn How to Do Your Own Fantasy Analysis in Python

You'll learn — step by step and applied to fantasy football — how to build your own machine learning models. You'll also learn how to make plots like these:

What People Are Saying

"The book here was really, really well done..." — Bill Connelly, ESPN

"This is amazingly awesome. I’ve recently slowly crept into data science driven by a pet passion for fantasy sport analytics. ...I’m roughly 40 pages into this book and the way the learning is framed here is 10x what you’ll get someplace else." — u/Nick5893

"Incredible work! Bought it right away. Only 3 chapters in and this book is already better than expected. Worth every penny. Thank you!" — u/TheMotizzle

"...probably the best / most complete Pandas walk through I've seen." — Bill S

"I can't tell you how many times I've tried to get into programming and gave up because it was so dry. This has been such a nice change of pace and I'm loving it. " — Paval M

"I’m like ~40 pages in and the simple intro to python chapter is much more engaging for me personally because it’s info I’m interested in. I’ve taken automate the boring stuff, python for finance, etc and while those courses are great.. I seem to be understanding it better because its about a subject I like." — u/financenstuff

"I have always wanted to learn a language but always seemed to get discouraged by the 'Hello World' chapters that were never ending. I like that your book cuts out the riff raff and teaches the important things! I'm flying through the book and feel like I'm learning a ton! Best wishes from a satisfied customer" — Jason K

"I’ve probably picked up more, and at a better pace, using this than a lot of the free online tools I’d been trying the past few months. " — Ryan P

"I recently purchased LTCWFF and could not be more satisfied with the content. ...it has been great to work through your in-depth examples learning new skills. I had a previous interest in this sort of analysis and have had intermediate programming experience, but never could tie the two together." — Owen B

30 Day Money Back Guarantee!

Try it! If you're not satisfied, contact me within 30 days and I'll refund you the purchase price.

Go beyond Excel with this book from the creator of Fantasy Math

This book is designed to take someone interested in fantasy football analytics — but who doesn't have much formal coding or advanced math background — from beginner to being comfortable with Python, databases, web scraping and modeling!

What will you learn?

Python — This flexible language is the foundation of everything from data munging to web scraping to machine learning. You'll also learn about its key data library Pandas, the modeling and machine learning libraries statsmodels and scikit-learn, and how to do data visualizations with seaborn.

Web Scraping & APIs — Next time you run across a site with data you'd like to analyze you'll know how to grab data via its public API if it's available, or build a web scraper to get it yourself if it's not.

Machine Learning & Statistics — You'll learn the difference between a regression and a random forest, and will know when and how to build both.

Databases & SQL — Build your own database — whether it's for player statistics, to keep track of opponent tenancies, etc — and use SQL to get data in and out of it.

All in the context of Fantasy Football and designed so you can learn how to apply them to your own questions and do your own analysis.

Table of Contents

About the author

Nathan Braun

Hi! My name is Nate and I'm a self-taught programmer and data scientist based in Milwaukee, WI.

I'm the founder of fantasymath.com, which offers weekly, in-season fantasy football advice and is the only place you can find correlated (not sure what this means? — we'll cover it in the book) projections.

A few years ago, I didn't know anything about Python, SQL, machine learning, web scraping or any of the other topics covered here.

So, I taught myself. I ran into a lot of dead ends along the way, but ultimately figured it out. In this book, I distill everything I've learned to provide a step-by-step guide to doing fantasy football analytics and get you up and running as quickly as possible.