✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
You have a dataframe, df, with 2 columns, x and y. You want to create a bar chart of the sorted values of y vs. the dataframe index. Which of the following will correctly handle the sorting and plotting?