Skip to main content
Category
Topics

Data Science Tutorials

Advance your data career with our data science tutorials. We walk you through challenging data science functions and models step-by-step.
Other topics:
GroupTraining 2 or more people?Try DataCamp for Business
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

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

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

Introduction to k-Means Clustering with scikit-learn in Python

In this tutorial, learn how to apply k-Means Clustering with scikit-learn in Python

Kevin Babitz

March 10, 2023

Machine Learning

Machine Learning and NLP using R: Topic Modeling and Music Classification

In this tutorial, you will build four models using Latent Dirichlet Allocation (LDA) and K-Means clustering machine learning algorithms.
Debbie Liske's photo

Debbie Liske

June 21, 2018

R

Decision Trees in Machine Learning Using R

A comprehensive guide to building, visualizing, and interpreting decision tree models with R.
Arunn Thevapalan's photo

Arunn Thevapalan

James Le's photo

James Le

June 1, 2023

Python

Python String to DateTime: How to Convert Strings to DateTime Objects

Learn all about the Python datetime module in this step-by-step guide, which covers string-to-datetime conversion, code samples, and common errors.
Arunn Thevapalan's photo

Arunn Thevapalan

October 17, 2025

Data Science

Custom Templates for Jupyter Notebooks with Jinja2

Learn how to create custom export templates for your Jupyter Notebooks using Jinja2.
Steph Howson's photo

Steph Howson

May 30, 2018

Data Science

How to Install and Use Homebrew

Discover Homebrew for data science. Learn how you can use this package manager to install, update, and remove technologies such as Apache Spark and Graphviz.
DataCamp Team's photo

DataCamp Team

May 23, 2018

R

Long to Wide Data in R

Learn why you would transform your data from a long to a wide format and vice versa and explore how to do this in R with melt() and dcast()!
DataCamp Team's photo

DataCamp Team

May 8, 2018