Data Science Tutorials
Develop your data science skills with tutorials in our blog. We cover everything from intricate data visualizations in Tableau to version control features in Git.
Discover categories
Training 2 or more people?Try DataCamp for Business
Scraping Reddit with Python and BeautifulSoup 4
In this tutorial, you'll learn how to get web pages using requests, analyze web pages in the browser, and extract information from raw HTML with BeautifulSoup.
Abhishek Kasireddy
April 22, 2025
Bivariate Distribution Heatmaps in R
Learn how to visually show the relationship between two features, how they interact with each other, and where data points are concentrated.
Carlos Zelada
July 31, 2018
How to Execute Python/R in SQL
After reading this tutorial, you'll know how to embed R & Python scripts in T-SQL statements & know what data types are used to pass data between SQL & Python/R.
Kyle Weller
July 30, 2018
Web Scraping using Python (and Beautiful Soup)
In this tutorial, you'll learn how to extract data from the web, manipulate and clean data using Python's Pandas library, and data visualize using Python's Matplotlib library.
Sicelo Masango
April 21, 2025
Python Modules Tutorial: Importing, Writing, and Using Them
Learn how to create and import Python modules. Discover best practices, examples, and tips for writing reusable, organized, and efficient Python code!
Nishant Kumar
March 28, 2025
Hierarchical Clustering in R
Clustering is the most common form of unsupervised learning, a type of machine learning algorithm used to draw inferences from unlabeled data.
DataCamp Team
July 24, 2018
Python List index() Method Explained with Examples
Learn how to use Python's index() function to find the position of elements in lists.
Sejal Jaiswal
March 28, 2025
Autoencoder as a Classifier using Fashion-MNIST Dataset Tutorial
In this tutorial, you will learn & understand how to use autoencoder as a classifier in Python with Keras. You'll be using Fashion-MNIST dataset as an example.
Aditya Sharma
July 20, 2018
Detecting True and Deceptive Hotel Reviews using Machine Learning
In this tutorial, you’ll use a machine learning algorithm to implement a real-life problem in Python. You will learn how to read multiple text files in python, extract labels, use dataframes and a lot more!
Aditya Sharma
July 19, 2018
How to Do Linear Regression in R
Learn linear regression, a statistical model that analyzes the relationship between variables. Follow our step-by-step guide to learn the lm() function in R.
Eladio Montero Porras
October 17, 2025
Common Data Science Pitfalls & How to Avoid them!
In this tutorial, you'll learn about some pitfalls you might experience when working on data science projects "in the wild".
DataCamp Team
July 17, 2018
Understanding Model Predictions with LIME
Learn about Lime and how it works along with the potential pitfalls that come with using it.
DataCamp Team
July 11, 2018