IniziaInizia 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.

Questo esercizio fa parte del corso

Introduction to DataLab

Visualizza il corso

Istruzioni dell'esercizio

  • 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.

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio