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
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

July 29, 2024

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

April 11, 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

R

GFLASSO: Graph-Guided Fused LASSO in R

Explore graph-structured multi-task regression with the GFLASSO R package with this tutorial!
Francisco Lima's photo

Francisco Lima

April 26, 2018

R

Network Analysis in R: Centrality Measures

Explore the definition of centrality, learn what different types of centrality measures exist in network analysis and pick the best one for a given network!
Minoo Ashtiani's photo

Minoo Ashtiani

April 17, 2018