Part of Coursera project "The Data Scientist's Toolbox"