created as part of the Data Scientist's Toolbox Coursera course taken in Dec 2013