Get startedGet started for free

Generate code with AI

DataLab has a built-in AI assistant that can assist you in writing code.

Have a go at using it in this exercise.

This exercise is part of the course

DataLab with SQL

View Course

Exercise instructions

  • Run the SQL cell provided.
  • Use the AI assistant to modify the query to show the average unit_cost per product_category.
  • Run the cell again to store the results to the ai_code DataFrame.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise