An introduction to data science