Question: Python: a . Calculate the total sales and profit for each state grouped by year. [ 1 0 mins ] i . Output format :
Python:
a Calculate the total sales and profit for each state grouped by year.
mins
i Output format : Year State, $Sales, $Profit
b Calculate the moving average $Sales and $Profit every week considering
a window of weeks in to Also calculate the relative
deltadifference between every week in $Profit. mins
i Note: Relative delta If the sales last week was K and current
week the sales is K then the relative delta is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
