CommencerCommencer gratuitement

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

Afficher le cours

Instructions

  • Write a query that selects all columns and filters for a sale_date between '2025-01-01' and '2025-03-31'.
  • Add another filter for the region called 'North'.
  • Order the results by sale_date in 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