Used for Coursera's course (The Data Scientist's Toolbox).