Complete the code to create a line plot of the 'sales' column from the DataFrame.
df.[1](y='sales')
The plot method creates a line plot by default when given a column name.
Complete the code to plot the 'temperature' column with a red line.
df.plot(y='temperature', color='[1]')
The color parameter sets the line color. 'red' makes the line red.
Fix the error in the code to plot the 'profit' column as a line plot.
df.[1](y='profit')
The correct method to create line plots from a DataFrame is plot.
Fill both blanks to create a line plot of 'revenue' with a dashed green line.
df.plot(y='[1]', linestyle='[2]', color='green')
The 'y' parameter should be 'revenue' to plot that column. The 'linestyle' '--' creates a dashed line. The color is set to green.
Fill both blanks to plot 'expenses' with a blue dotted line and label the plot 'Expenses Over Time'.
df.plot(y='[1]', color='[2]', linestyle=':', title='Expenses Over Time')
Plot the 'expenses' column with blue color and dotted linestyle ':' to match the instructions.