Question: Using the saledata variable, extract the fiscal quarter. You will need to add a new variable called quarter to the dataframe df . If month

Using the saledata variable, extract the fiscal quarter.
You will need to add a new variable called quarter to the dataframe df.
If month is jan, feb, mar; then the quarter is 1. If month is apr, may, jun; quarter is 2, etc.
Analyze sales trends over different quarters to determine if there are peak periods for car sales.
find the average of sellingprice grouped by quarter. Save this data to a variable named rice_by_quarter

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 Programming Questions!