created for the Coursera course "The Data Scientist's Toolbox"