Part of the course assignment for the Data Scientist Toolbox course.