(Python matplotlib or seaborn) CPU Usage We have the hourly average CPU usage for a worker's computer over the course of a week. Each row of data represents a day of the week starting with Monday. Each column of data is an hour in the day starting with 0 being midnight. Create a chart that shows the CPU usage over the week. You should be able to answer the following questions using the chart: When does the worker typically take lunch? Did the worker do work on the weekend? On which weekday did the worker start working on their computer at the latest hour?   cpu_usage = [ [2, 2, 4, 2, 4, 1, 1, 4, 4, 12, 22, 23, 45, 9, 33, 56, 23, 40, 21, 6, 6, 2, 2, 3], # Monday [1, 2, 3, 2, 3, 2, 3, 2, 7, 22, 45, 44, 33, 9, 23, 19, 33, 56, 12, 2, 3, 1, 2, 2], # Tuesday [2, 3, 1, 2, 4, 4, 2, 2, 1, 2, 5, 31, 54, 7, 6, 34, 68, 34, 49, 6, 6, 2, 2, 3], # Wednesday [1, 2, 3, 2, 4, 1, 2, 4, 1, 17, 24, 18, 41, 3, 44, 42, 12, 36, 41, 2, 2, 4, 2, 4], # Thursday [4, 1, 2, 2, 3, 2, 5, 1, 2, 12, 33, 27, 43, 8, 38, 53, 29, 45, 39, 3, 1, 1, 3, 4], # Friday [2, 3, 1, 2, 2, 5, 2, 8, 4, 2, 3, 1, 5, 1, 2, 3, 2, 6, 1, 2, 2, 1, 4, 3], # Saturday [1, 2, 3, 1, 1, 3, 4, 2, 3, 1, 2, 2, 5, 3, 2, 1, 4, 2, 45, 26, 33, 2, 2, 1], # Sunday ]   How to solved above problem?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

(Python matplotlib or seaborn)

CPU Usage

We have the hourly average CPU usage for a worker's computer over the course of a week. Each row of data represents a day of the week starting with Monday. Each column of data is an hour in the day starting with 0 being midnight.

Create a chart that shows the CPU usage over the week. You should be able to answer the following questions using the chart:

  • When does the worker typically take lunch?
  • Did the worker do work on the weekend?
  • On which weekday did the worker start working on their computer at the latest hour?

 

cpu_usage = [

[2, 2, 4, 2, 4, 1, 1, 4, 4, 12, 22, 23,

45, 9, 33, 56, 23, 40, 21, 6, 6, 2, 2, 3], # Monday

[1, 2, 3, 2, 3, 2, 3, 2, 7, 22, 45, 44,

33, 9, 23, 19, 33, 56, 12, 2, 3, 1, 2, 2], # Tuesday

[2, 3, 1, 2, 4, 4, 2, 2, 1, 2, 5, 31,

54, 7, 6, 34, 68, 34, 49, 6, 6, 2, 2, 3], # Wednesday

[1, 2, 3, 2, 4, 1, 2, 4, 1, 17, 24, 18,

41, 3, 44, 42, 12, 36, 41, 2, 2, 4, 2, 4], # Thursday

[4, 1, 2, 2, 3, 2, 5, 1, 2, 12, 33, 27,

43, 8, 38, 53, 29, 45, 39, 3, 1, 1, 3, 4], # Friday

[2, 3, 1, 2, 2, 5, 2, 8, 4, 2, 3,

1, 5, 1, 2, 3, 2, 6, 1, 2, 2, 1, 4, 3], # Saturday

[1, 2, 3, 1, 1, 3, 4, 2, 3, 1, 2,

2, 5, 3, 2, 1, 4, 2, 45, 26, 33, 2, 2, 1], # Sunday

]

 

How to solved above problem?

Expert Solution
steps

Step by step

Solved in 4 steps with 8 images

Blurred answer
Knowledge Booster
Print statement
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education