Get startedGet started for free

Storing and reusing a DataFrame

Awesome job working with queries. This time you want to save your outputs as a DataFrame for further querying and manipulation.

You'll be working with the sales_data.csv again here.

This exercise is part of the course

DataLab with SQL

View Course

Exercise instructions

  • Update the query to filter the results where the product_category is 'Furniture'.
  • Store the output as a DataFrame called furniture_sales.
  • Create a new SQL cell and query the furniture_sales DataFrame, storing this next result as furniture_subset.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise