I am trying to create a scatterplot of price vs. number for a certain year, say 2000.
I tried plotting with plt.plot(summary.price, summary.number, 'ro'), but I want it for a specific year so tried to only get the data from year 2000 with df['2000'] but it says key error.
How do I create a scatterplot with data from just a specific year?

