These are the files for the book Learn to Code with Hockey.
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-hockey-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-hockey-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-hockey-files
If I were using Windows, it might look like this:
C:\Users\nathanbraun\code-hockey-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.
Fixed end of chapter exercises for seaborn chapter.
Clean up code in seaborn chapter to get rid of warning messages (thanks Francois!).
Fix issue in random forest section about mixing string and integer variable names (thanks Danny!).
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.
Fixed typo in the introduction — thanks Matt!
Remove some now unnec lines from old API - thanks Scott!
Major update to the API chapter. Rewrote everything to use the new NHL API since the old one stopped working.
Fixed some typos.
Fixed end of chapter sql problems (you're the man Emil!).
Fix some misc typos, mostly in end of chapter problems (thanks again Emil!).
Fix some misc other sport references (thanks Emil!).
Fix weird kg player units. Reword for clarity
Minor typos.
Adding this README!