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 Arrays

Python arrays with code examples. Learn how to create and print arrays using Python NumPy today!

August 8, 2024

Sorting in Python Tutorial

Discover what the sort method is and how to do it.

July 22, 2020

GLM in R: Generalized Linear Model

Learn about generalized linear models (GLM) and how they differ from linear models.

June 30, 2020

How to Subset Data in R: Select, Filter, and Extract Data

Learn how to subset data frames in R using brackets [], subset(), and dplyr. Includes code examples and a comparison of methods.

May 21, 2026

Python Lists Tutorial

A list is a compound data type where you can group values together. A Python list is a convenient way of storing information altogether rather than individually.

June 25, 2020

Lowercase in Python Tutorial

Learn to convert spreadsheet table column into lowercase using .str.lower().

November 23, 2024

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

Learn how to use the .append() and .extend() methods to add elements to a list.

June 24, 2020

Objects and Classes in R

Learn about Object-Oriented Programming (OOP) along with R's objects, different classes like S3 and S4, along with its construction, creating its generic function with examples and many more.

June 22, 2020

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, ...!

June 15, 2020

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.

June 8, 2020

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.

June 8, 2020

Python Excel Tutorial: A Complete Guide With openpyxl

Learn to read and write Excel files in Python using openpyxl. This guide covers formulas, charts, cell formatting, and worksheet manipulation with hands-on exam

June 3, 2026