Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

q 7 :Objective: Plot results Create a function called plot _ evolution ( list _ years, mean _ value ) that plots the time evolution

q7:Objective: Plot results Create a function called plot_evolution(list_years, mean_value) that plots the time evolution of mean_values over the years. The x values should be the years in list_years
and the y values values in mean_values. It should return the plot created, i.e., you must do: plot = plt return plot Example of usage: plot = plot_evolution([2014,2015,2016,2017,2018], mean_values_discount) Note: do not forget to import matplotlib.pyplot Conclusion: When you compared the mean discount to the mean value per dollar sold, you will notice that the discount has increased while the profit per dollar as decreased considerably. Your recommendation was that the discount policy should be reviewed, and you got a promotion!

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

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions