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

if __name__ == "__main__" Python: Complete Explanation

The if __name__ == "__main__" block in Python allows you to define code that will only run when the file is executed directly as a script, but not when it's imported as a module into another script.
Stephen Gruppetta's photo

Stephen Gruppetta

August 12, 2024

Data Science

QR Decomposition in Machine Learning: A Detailed Guide

Learn about QR decomposition, the matrix factorization technique that decomposes matrix A into the product of an orthogonal matrix Q and an upper triangular matrix R.
Josef Waples's photo

Josef Waples

August 9, 2024

SQL

SQL Triggers: A Guide for Developers

Learn how to use SQL triggers to automate tasks, maintain data integrity, and enhance database performance. Try practical examples like the CREATE, ALTER, and DROP commands in MySQL and Oracle.
Oluseye Jeremiah's photo

Oluseye Jeremiah

August 15, 2024

Python

How to Round to 2 Decimal Places in Python

Learn how to round a number to two decimal places in Python for improved precision using techniques like round(), format(), and string formatting techniques.
Allan Ouko's photo

Allan Ouko

August 8, 2024

Artificial Intelligence

Tiktoken Tutorial: OpenAI's Python Library for Tokenizing Text

Tiktoken is a fast BPE tokenizer developed by OpenAI, primarily used to count tokens for their large language models and ensure efficient text processing within specified limits.
Dimitri Didmanidze's photo

Dimitri Didmanidze

August 7, 2024

Git

Git Rename Branch: How to Rename Local or Remote Branch

Learn how to rename local and remote Git branches using either the terminal or the graphical user interface (GUI) of popular clients like GitHub.
François Aubry's photo

François Aubry

August 7, 2024

Python

Optuna for Deep Reinforcement Learning in Python

Explore how to master hyperparameter tuning with Optuna. Learn how to define hyperparameters, set up your objective function, and utilize sampling and pruning techniques in deep reinforcement learning.
Bunmi Akinremi's photo

Bunmi Akinremi

August 7, 2024

Machine Learning

DeepChecks Tutorial: Automating Machine Learning Testing

Learn how to perform data and model validation to ensure robust machine learning performance using our step-by-step guide to automating testing with DeepChecks.
Abid Ali Awan's photo

Abid Ali Awan

August 6, 2024

Artificial Intelligence

pgvector Tutorial: Integrate Vector Search into PostgreSQL

Discover how to enhance PostgreSQL with vector search capabilities using pgvector. This tutorial guides you through installation, basic operations, and integration with AI tools.
Moez Ali's photo

Moez Ali

January 20, 2026