“This book was really, really well done.”
You'll learn — step by step and applied to soccer — how to program your own analysis. You'll also learn how to make plots like these 👇:
“Amazingly awesome... the way the learning is framed here is 10x what you'll get someplace else.”
"The book here was really, really well done..."
"This is amazingly awesome. I’ve recently slowly crept into data science driven by a pet passion for fantasy sport analytics. ...the way the learning is framed here is 10x what you’ll get someplace else."
"...probably the best / most complete Pandas walk through I've seen."
"I really loved your book. You did an amazing job on it. ... I've been trying to get my son more into programming, and your book has been perfect... really clicked for him."
"...really helpful and a fun way to learn."
"...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.
"Love the book... My python has come a very long way thanks to you."
"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"
"I have tons of coding books. Yours is a favorite"
"Dear Nate, I'd like to thank you for a brilliant book. ... It's distilled, without extra and unnecessary... info and challenging at the same time. I'm writing you just to thank you."
"Loving this so far!"
"...so helpful and enjoyable."
"...exactly the course I was looking for a long time! :)"
"I really like your approach to teaching data science! I usually work with... R, and your book is one of the resources I'm using to teach myself Python... So far it's the best one!"
"Been loving your book so far, it progresses at a great pace and has easily been the best mode I've used to understand coding. I'm excited to learn more, thank you for creating this book that's allowing me to have fun learning again, it's been ages."
"...absolutely superb... definitely understand the acclamation"
"Fantastic... literally feels like it was written for me!"
"You're an absolute legend!"
"I am enjoying refreshing my Python knowledge with your book very much."
"I am going through your book right now... and I love it!
"...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."
"The book is great!"
"... helped me way more than my grad school class did."
"Thank you Nathan ... You ARE an amazing teacher!"
"Can I just say that is the simplest and best explanation I have ever seen... Awesome!!"
"I was amazed by how you broke down complicated concepts and made them easier to understand."
“I was amazed by how you broke down complicated concepts and made them easier to understand.”
Get Learn to Code with Soccer
Python. Pandas. SQL. Machine Learning — all with international soccer data.
Includes book, datasets, example scripts, end of chapter problems with full solutions, and flashcards.
The 300+ page book in PDF format
300+ spaced repetition flash cards
23 example scripts, 10 datasets
100+ practice problems with full solutions
30 day money back guarantee!
30 Day Money Back Guarantee
Try it! If you're not satisified, contact me within 30 days and I'll refund you the purchase price.
“I've taken automate the boring stuff, python for finance, etc and while those course are great... I seem to be understanding it better because its about a subject I like.”
See the full table of contents
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 and 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 and Statistics — You'll learn the difference between a regression and a random forest, and will know when and how to build both.
Databases and 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 soccer and designed so you can learn how to apply them to your own questions and do your own analysis.
Hi! My name is Nate and I'm a self-taught programmer and data scientist based in Milwaukee, WI.
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. It took a few years and I ran into a lot of dead ends along the way, but ultimately I figured it out. In this book, I distill everything I've learned to provide a step-by-step guide to doing soccer analytics and get you up and running as quickly as possible.
"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."
"I just bought your book and have to say I enjoy it immensely so far."
"...exactly what I needed to finally get past tutorial hell and apply Python to something I love."
"it's been great refreshers for basic Python... I appreciate the Anki cards ... they're helping cement the terminology..."
"...it helped me tremendously ... I wouldn't be where I'm at with the Python language today without this book to kick start things."
"...very engaging so far compared to some of the other online resources I've tried to pick this up with."
"...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."
"Incredible work! Bought it right away. Only 3 chapters in and this book is already better than expected. Worth every penny. Thank you!"
"...recently bought Learn to Code with Baseball and am thoroughly enjoying it and learning some new things along the way..."
"It is really cool and I enjoy learning Python with it..."
"...an excellent resource. I like your writing style and the projects are fun and make it easy to learn."
"I’ve been greatly enjoying the content so far!"
"Love the book..."
"One of my friends started on his coding for fantasy football journey using your book and he loves it..."
"...the book is very well structured and easy to follow... I found it very helpful!"
"...very informative and good intro to coding. Additionally, [Nate] would answer any questions I emailed him within 24 hours. Excellent customer service and pushed new editions to everyone who had already paid. I really appreciate [Nate]’s commitment to his product."
"I spent a few minutes going through the charting examples... I really REALLY enjoyed it."
"I've been fascinated by sports and statistics from a young age... throughout my college career... no professor was able to get me excited about a subject matter like the first 20 pages of [LTCWFF]..."
"...loving it so far. I do not know if it's because I love basketball, you make it so simple to learn, how you approach teaching, or some combination of attributes... will probably be the reason I learn to code"
"...your book is great. It's exactly what I needed to motivate me to push through..."
"...can definitely recommend it. It's so much easier learning coding with a subject that is familiar and one is passionate about. Thank you!"
"...very well put together. I've been needing a good excuse to strengthen my pandas and python skills and this looks like the perfect catalyst for me."
"Its been a great intro into the world of analytics for me."
"First, I'd just like to say how much I love the book and truly appreciate that something like this exists... I have been working through a variety of materials (e.g. online courses etc) to try and build my Python skills and get more into the ... field, and this has been tremendously helpful."
"I have purchased and started reading your book, it is amazing. I am a beginner in Python and your book is truly... fun."
"...the book is great! I've been looking for some learning materials for data analysis with the NBA and I'm really enjoying it so far."
"I bought LTCWFF and love it!"
"The course is going well. I like how you bring out patterns in the commands, ... Makes it so much easier."
"Gotta say, this is the most brilliant idea. ... Congrats on the absolutely awesome product."
"P.S. Huge fan of the books! Such a great and engaging way to practice analytics with a variety of methods on fun subject matters! "
"I’m flying through your book and loving every bit of it so far. The way you lay everything out is incredibly intuitive and easy to follow."
"I really loved it!"
"The only Python course that's kept me engaged from beginning to end."