These are the files for the book Learn to Code with Fantasy Football.
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 ltcwff-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 ltcwff-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/ltcwff-files
If I were using Windows, it might look like this:
C:\Users\nathanbraun\ltcwff-files
Set these aside for now and we'll pick them up in chapter 2.
Update visualization code to get rid of a few 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.
Misc typos.
Fixed issue #2 (updated exercise 5.1.3 to reflect updated FFC data format). Thanks Damon!
Misc typos.
Added a missing ignore_index in the visualization chapter (thanks Chad!)
Cleaned up a few minor typos.
Fixed the solution for exercise 5.1 so it's no longer cut off (thanks Graydon!)
Misc edits and Anki card updates.
Added a note explaning granularity in the main text, before asking any end of chapter exercises on it (thanks Jay!)
Updated visualization section + associated homework problems to use Seaborn
0.11.x (September 2020), which added a new displot
function. This means
making our distribution plots change from, say:
g = (sns.FacetGrid(df)
.map(sns.kdeplot, 'std', shade=True))
To:
g = sns.displot(df, x='std', kind='kde', fill=True)
It also opens up some new possibilities (e.g. with plotting empirical CDFs) that I might discuss in a future update.
Add this changelog, bundle files in an github release vs including with SendOwl.