for JH's course "The Data Scientist's Toolbox"