Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Write a python program that reads the company _ sales _ data.csv file and plot the total profit of all months using line
Write a python program that reads the companysalesdata.csv file and plot the total profit of all months using line plot.
a Make sure that youve downloaded the file into a directory that you can access from Python, preferably the same directory as the py file.
b For the graph, use the title Company Sales Data of Last Year xlabelMonth Number ylabelTotal Profit and the legend for Profit data of last year to the graph.
c Find the mean of the total profit and display on the console.
d Find the minimum of the total profit and display on the console.
e Find the maximum of the total profit and display on the console.
f Find the variance of the total profit and display on the console.
g Find the median of the total profit and display on the console.
h Find the standard deviation of the total profit and display on the console.
The graph and output should look like those below:
Read all product sales data and show it using multiline plot.
Display the number of units sold per month for each product using multinet plots. The final graph should look like:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started