Guided Project: Exploring eBay car sales step 4/9 - price .sort_index issue

Hi all,
I tried to use the series.sort_index() function to get back a list of values in ascending numerical order, but instead, I got this back. Could someone please help me out? I can’t figure out if its a problem with my code or with Jupyter Notebook.

Thanks in advance for any help!

hey @naidumsb

are you trying to sort by values or index?

if you want to see, which price has been quoted maximum times you need to use sort_values(). This is currently sorting by the price itself, which is considered as index

1 Like