It seems like a lousy job. When you put up code samples make sure that code is working. I found at least 2 instances where the variable was missing by just reading the article. Please make sure when you share code, that it works. Also, a shared iPython notebook on github/juypter network would do better.
Thanks for the article.