ComenzarEmpieza gratis

Modifying existing code with AI

Imagine you want to create multiple visualizations for different categories to uncover patterns within groups.

In this exercise, you’ll use AI to modify the histogram to see if the electric car unplugging pattern is similar on weekdays and weekends.

Este ejercicio forma parte del curso

Introduction to DataLab

Ver curso

Instrucciones del ejercicio

  • Run the SQL cell to create the charging_sessions DataFrame.
  • Use the AI to modify your histogram so you only view data for Fridays.
  • Answer the question: What hour will most users unplug their car on a Friday? You will need to add your answer to the last cell as the variable popular_unplug_hour_friday.

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio