Data Science Tutorials
Develop your data science skills with tutorials in our blog. We cover everything from intricate data visualizations in Tableau to version control features in Git.
Discover categories
Training 2 or more people?Try DataCamp for Business
Beginner Tutorial: Recommender Systems in Python
Build your recommendation engine with the help of Python, from basic models to content-based and collaborative filtering recommender systems.
Aditya Sharma
May 29, 2020
Importing and Writing Text Files in Python
This article covers different ways to import text files into Python using Python, NumPy, and Python’s built-in methods. It also covers how to convert these into lists.
Adam Shafi
February 24, 2023
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
October 30, 2025
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
Python Variable Scope And The LEGB Rule Explained
Learn what variable scopes are all about and get familiar with the 'LEGB' rule. You will also deal with scenarios where you'll get to see the global and nonlocal keywords in action.
Sejal Jaiswal
September 11, 2025
Introduction to Python IDLE Tutorial
Learn what is Python IDLE (Integrated Development and Learning Environment) is, how you can install it, and leverage its various features for writing your Python programs.
Aditya Sharma
May 8, 2020
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
Type Checking in Python Tutorial
Learn about type checking, different types of the type system in various languages along with duck typing, and type hinting.
Olivia Smith
May 5, 2020
Definitive Guide: Threading in Python Tutorial
Learn the basic concepts of threading and how you can use it with the help of Python.
Aditya Sharma
May 1, 2020
Altair in Python Tutorial: Data Visualizations
Learn how to create data visualizations in Python using Altair and a Movies Dataset.
Sejal Jaiswal
April 22, 2020
How to Use Python to Scrape Amazon
Learn about web scraping with python and how to scrape Amazon, with the help of the Beautiful Soup library.
Aditya Sharma
April 22, 2025
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
April 17, 2020