Question: 1 . Write a python program that reads the company _ sales _ data.csv file and plot the total profit of all months using line

1. Write a python program that reads the company_sales_data.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, x-label=Month Number, y-label=Total 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:
2. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!