Skip to main content
learning data science

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
GroupTraining 2 or more people?Try DataCamp for Business
Python

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

Carlos Zelada

July 31, 2018

SQL

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's photo

Kyle Weller

July 30, 2018

Python

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

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

Machine Learning

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's photo

DataCamp Team

July 24, 2018

Python

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's photo

Sejal Jaiswal

March 28, 2025

Python

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's photo

Aditya Sharma

July 20, 2018

Python

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's photo

Aditya Sharma

July 19, 2018

R

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

Machine Learning

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's photo

DataCamp Team

July 17, 2018

Machine Learning

Understanding Model Predictions with LIME

Learn about Lime and how it works along with the potential pitfalls that come with using it.
DataCamp Team's photo

DataCamp Team

July 11, 2018