203k views
2 votes
TASK 1.2: Plot different lines for categories of vehicle type and analyze the trend to answer the question: Is there a noticeable difference in sales trends between different vehicle types during recession periods?

[21]:
Cell In[21], line 2: df Mline.set_index('Year', inplace=True)
IndentationError: unexpected indent
what insights have you gained on the sales of various vehicle types? Type in your answer below:
>Inference

User Mdickin
by
8.4k points

1 Answer

4 votes

Final answer:

To analyze the sales trends between different vehicle types during recession periods, plot different lines for each type and examine their patterns and slopes.

Step-by-step explanation:

To plot different lines for categories of vehicle type and analyze the trend, you can use a line plot or a line graph. The x-axis can represent the recession periods (years) and the y-axis can represent the sales values.

Each vehicle type can be represented by a different line.

By examining the slopes and patterns of the lines, you can determine if there is a noticeable difference in sales trends between different vehicle types during recession periods.

For example, let's say you have data for three vehicle types: cars, trucks, and motorcycles. You plot the sales values for each type over the recession periods.

The lines for cars and motorcycles show a steady decline in sales during recessions, while the line for trucks shows a slight increase in sales.

This indicates that there is a difference in sales trends between vehicle types during recession periods.

User Ahmadul Hoq
by
8.1k points

Related questions

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.