For the assignment of "The data scientist's toolbox" course at Coursera