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
Python

What is Cosine Distance?

Explore cosine distance and cosine similarity. Discover calculations, applications, and comparisons with other metrics. Learn to implement in R and Python using numpy.
Vinod Chugani's photo

Vinod Chugani

July 28, 2024

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

Few-Shot Prompting: Examples, Theory, Use Cases

Few-shot prompting is a technique in which an AI model is given a few examples of a task to learn from before generating a response, using those examples to improve its performance on similar tasks.
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