Skip to main content
learning data science

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
GroupTraining 2 or more people?Try DataCamp for Business
SQL

How to Use SQL PIVOT

Enhance your SQL skills with the SQL PIVOT operator. Learn to convert rows into columns to create pivot tables in SQL Server and Oracle.
Allan Ouko's photo

Allan Ouko

July 26, 2024

SQL

SQL SUM() Function Explained

Discover the power of the SQL SUM() function for data aggregation. Learn how to implement rolling sums, cumulative sums, and sum multiple columns effectively.
Allan Ouko's photo

Allan Ouko

August 15, 2024

Machine Learning

Stochastic Gradient Descent in Python: A Complete Guide for ML Optimization

Learn Stochastic Gradient Descent, an essential optimization technique for machine learning, with this comprehensive Python guide. Perfect for beginners and experts.
Bex Tuychiev's photo

Bex Tuychiev

July 24, 2024

Python

How to Round Up a Number in Python

Discover three straightforward techniques to round up numbers in Python: using math.ceil() from the math module, using the decimal module, and NumPy.
Allan Ouko's photo

Allan Ouko

July 22, 2024

Artificial Intelligence

Zero-Shot Prompting: Examples, Theory, Use Cases

Zero-shot prompting is a technique in which an AI model is given a task or question without any prior examples or specific training on that task, relying solely on its pre-existing knowledge to generate a response.
Dr Ana Rojo-Echeburúa's photo

Dr Ana Rojo-Echeburúa

July 21, 2024

SQL

UNION vs UNION ALL in SQL

Discover the output and performance differences between UNION and UNION ALL: UNION removes duplicates while UNION ALL includes them.
Vikash Singh's photo

Vikash Singh

July 19, 2024

Python

What is Manhattan Distance?

Learn how to calculate and apply Manhattan Distance with coding examples in Python and R, and explore its use in machine learning and pathfinding.
Vinod Chugani's photo

Vinod Chugani

July 17, 2024

Python

Python: Remove Duplicates From A List (Five Solutions)

To remove duplicates from a Python list while preserving order, create a dictionary from the list and then extract its keys as a new list: list(dict.fromkeys(my_list)).
Stephen Gruppetta's photo

Stephen Gruppetta

July 16, 2024