1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Data Science in Python

Exercise

Or hardly working?

Two other officers have been working with Deshaun to help find Bayes. Their names are Officer Mengfei and Officer Aditya. Deshaun used their time cards to create two more DataFrames: mengfei and aditya. In this exercise, we'll plot all three lines together to see who was working hard each day.

We've already loaded matplotlib under the alias plt.

Instructions 1/2

undefined XP
    1
    2
  • Plot Officer Aditya's time worked with day_of_week on the x-axis and hours_worked on the y-axis.
  • Plot Officer Mengfei's time worked with day_of_week on the x-axis and hours_worked on the y-axis.