Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 you've 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", ylabel="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:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions