I have written the following piece of code:
df.groupby(['neighborhood'])['price'].mean()
However, I would like to order the 'price' column from highest to lowest average. How do I do this?
I have written the following piece of code:
df.groupby(['neighborhood'])['price'].mean()
However, I would like to order the 'price' column from highest to lowest average. How do I do this?