These are the files for the book Learn to Code with Soccer.
If you're not familiar with Git or GitHub, no problem. Just click the Source code
link under the latest release to download the files. This will download
a file called code-soccer-files-vX.X.X.zip
, where X.X.X is the latest
version.
When you unzip these (note in the book I've dropped the version number and
renamed the directory just code-soccer-files
, which you can do too)
you'll see four sub-directories: code
, data
, anki
,
solutions-to-excercises
.
You don't have to do anything with these right now except know where you put them. For example, on my mac, I have them in my home directory:
/Users/nathanbraun/code-soccer-files
If I were using Windows, it might look like this:
C:\Users\nathanbraun\code-soccer-files
Set these aside for now and we'll pick them up in chapter 2.
Updated instructions for installing Python (now recc Spyder directly vs via Anaconda). Also cover a few other options.
Minor typos and fixes.
Cleaned up plotting chapter to avoid misc Seaborn warnings.
Fix Pandas mean
example. More: Pandas changed their defaults to throw an
error if you try to call this on string columns. Fixed example to explicitely
only call it on numeric data.
Change scraping example to get data from worldfootball.net, since myfootballfacts.com was no longer working.
Fix some typos (thanks Dillion!)
Fixed the answer to exercise 3.1.5 (thanks Akash!)
Misc typos.
Changed some terminology based on reader feedback (thanks Dillion!)
Minor uupdates for clarity.
Fixed some typos in the book. Thanks Paul!
Fixed a typo in the book. Thanks Dan!
Minor rewording.
Clean up some misc non-soccer references in modeling chapter. Thanks x3 Ross!
More edits to make sure book matches the code. You're on fire Ross!
Also changed the book image on SendOwl to be more grass-like green vs yellow.
Fixed some out of date variable/sports references in merge and sql sections. Thanks (again) Ross!
Fixed a stray reference to the wrong football (American). Fixed an error in end of chapter exercises for Pandas filter section. Thanks Ross!
Fixed some typos. Thanks Jon!
Added a football version for non-American readers, where I've subbed out "soccer" and replaced it with "football" throughout the text. Comes with both so read which you prefer.
Adding this README!