Session Ready
Exercise

Working hard

Several police officers have been working hard to help us solve the mystery of Bayes, the kidnapped Golden Retriever. Their commanding officer wants to know exactly how hard each officer has been working on this case. Officer Deshaun has created DataFrames called deshaun to track the amount of time he spent working on this case. The DataFrame contains two columns:

  • day_of_week: a string representing the day of the week
  • hours_worked: the number of hours that a particular officer worked on the Bayes case'
Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • From matplotlib, import the module pyplot under the alias plt