in class example Practical Data Science