SQL analysis with DataLab
Before you go, let's take a moment to bring a few things together in this DataLab exercise.
This exercise is part of the course
DataLab with SQL
Exercise instructions
- Start by selecting the full
sales_data.csv
data set and storing as a DataFrame,sales_data
. - Create a subset keeping only the data for
sales_rep
"Alice", storing as a DataFrame calledalice_sales
. - Use
alice_sales
to find the totalsales_amount
byregion
andproduct_category
, storing as a DataFrame calledtop_products
. - Visualize the results!
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
