Python code from the algorithms in Data Science for Business