Skip to main content
learning data science

Data Science Tutorials

Learn data science and AI with step-by-step tutorials on the DataCamp blog. Master Python, SQL, machine learning, and build your own AI agents.
Discover categories
GroupTraining 2 or more people?Try DataCamp for Business

Understanding the LAG() Function in SQL: A Comprehensive Guide

Explore how the LAG() function allows you to access previous rows in your dataset, enabling time series analysis and comparisons of sequential observations.
Islam Salahuddin's photo

Islam Salahuddin

July 5, 2024

How to Use the SQL IN Operator: A Guide to Efficient Filtering Techniques

The SQL IN operator allows you to filter query results to include only rows that meet specified conditions. Explore its full potential and alternatives.
Allan Ouko's photo

Allan Ouko

July 5, 2024

How to Write Memory-Efficient Classes in Python

Learn about memory management in Python with advanced techniques for coding memory-efficient classes. Explore practical exercises for optimal performance.
Arunn Thevapalan's photo

Arunn Thevapalan

July 4, 2024

Cohere Command R+: A Complete Step-by-Step Tutorial

Explore Cohere Command R+ online and locally, learn about the unique features of the Cohere Python API, and build a multi-step AI agent using LangChain and Cohere.
Abid Ali Awan's photo

Abid Ali Awan

July 3, 2024

Getting Started with Azure Monitor: Key Features and Best Practices

Learn key features and best practices for Azure Monitor to optimize resource usage and costs, ensure compliance, and resolve performance or security issues.
Anneleen Rummens's photo

Anneleen Rummens

July 2, 2024

How to Create and Customize a Box and Whisker Plot in Excel

To create a box and whisker plot in Excel, select your data, open the Insert tab, click on Recommended Charts, choose the Box & Whisker chart, and press OK.
Elena Kosourova's photo

Elena Kosourova

December 18, 2024

Snowflake vs AWS: Choosing the Right Cloud Data Warehouse Solution

Discover why Snowflake and AWS are the top cloud data warehouses. Compare their unique features, limitations, and pricing to find the best fit for your needs.
Gus Frazer's photo

Gus Frazer

June 28, 2024

Mastering SQL Date Comparisons: How to Query for Dates Greater Than a Specific Date

Learn how to query and filter a date greater than a specific date in SQL. Compare how the date greater than logic differs in MySQL, PostgreSQL, and SQL Server.
Allan Ouko's photo

Allan Ouko

June 28, 2024

How to Use SQL MINUS

The SQL MINUS operator subtracts one result set from another. It is simple to use: Just place MINUS between two queries to exclude common records from the first set.
Oluseye Jeremiah's photo

Oluseye Jeremiah

June 28, 2024