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
Python

Lowercase in Python Tutorial

Learn to convert spreadsheet table column into lowercase using .str.lower().
DataCamp Team's photo

DataCamp Team

November 23, 2024

Python

Python .append() and .extend() Methods Tutorial

Learn how to use the .append() and .extend() methods to add elements to a list.
DataCamp Team's photo

DataCamp Team

June 24, 2020

Olivia Smith

June 22, 2020

Python

Python List Comprehension Tutorial

Learn how to effectively use list comprehension in Python to create lists, to replace (nested) for loops and the map(), filter() and reduce() functions, ...!
Aditya Sharma's photo

Aditya Sharma

June 15, 2020

R

IF ELSE Function in R

Learn in detail about the ifelse() function, including syntax, along with finding whether a number is odd or even, and finally, with an example to see whether a student passed or failed their exam.

Olivia Smith

June 8, 2020

R

Factors in R Tutorial

Learn about the factor function in R, along with an example, and it's structure, order levels, renaming of the levels, and finally, with the ordering of categorical values.

Olivia Smith

June 8, 2020

Python

Python Excel: A Guide With Examples

Learn how to read and import Excel files in Python, write data to these spreadsheets, and find the best packages to do this.
Natassha Selvaraj's photo

Natassha Selvaraj

October 30, 2025

R

Matrices in R Tutorial

Learn all about R's matrix, naming rows and columns, accessing elements also with computation like addition, subtraction, multiplication, and division.

Olivia Smith

May 11, 2020

R

Data Reshaping in R Tutorial

Learn about data reshaping in R, different functions like rbind(), cbind(), along with Melt(), Dcast(), and finally about the transpose function.

Olivia Smith

May 5, 2020

R

Estimating COVID-19's 𝑅𝑡 in Real-Time (Replicating in R) Tutorial

Kevin Systrom published a really interesting article on estimating $R_t$, the measure known as effective reproduction number. We will use the same approach outlined by Kevin in his article to estimate COVID-19's Rt in real-time.
Ramnath Vaidyanathan's photo

Ramnath Vaidyanathan

April 17, 2020

R

Arrays in R

Learn about Arrays in R, including indexing with examples, along with the creation and addition of matrices and the apply() function.

Olivia Smith

April 6, 2020

R

Strings in R Tutorial

Learn about R's Strings: its rules, concatenation, along with essential properties of the string, extracting and replacing a character string, and formatting a string.

Olivia Smith

April 6, 2020