Storing a DataFrame
You're analyzing some seasonal data and decide to store sales data for Q1 (January 1 to March 31, 2025) for the North region for comparison later on.
Cet exercice fait partie du cours
DataLab with SQL
Instructions
- Write a query that selects all columns and filters for a
sale_datebetween'2025-01-01'and'2025-03-31'. - Add another filter for the
regioncalled'North'. - Order the results by
sale_datein ascending order. - Rename and store the DataFrame as
q1_north.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice