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

DataCamp Team's photo

DataCamp Team

June 27, 2018

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

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

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

R

Logistic Regression in R Tutorial

Discover all about logistic regression: how it differs from linear regression, how to fit and evaluate these models it in R with the glm() function and more!
Vidhi Chugh's photo

Vidhi Chugh

March 17, 2023

R

Getting Started with the Tidyverse: Tutorial

Start analyzing titanic data with R and the tidyverse: learn how to filter, arrange, summarise, mutate and visualize your data with dplyr and ggplot2!
Hugo Bowne-Anderson's photo

Hugo Bowne-Anderson

April 10, 2018