This is the code for the Introduction to Data Science class notes used in the HarvardX Data Science Series. Book web page PDF version For updates follow @rafalab This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 United States License.