Part II of Coursera Data Scientists Toolbox assignment.