Answered step by step
Verified Expert Solution
Link Copied!

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

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions