I would like to make a scatter plot for the following DataFrame with x-axis topic and y-axis content.
In[18]: test=pd.read_excel('test.xlsx')
In[19]: test
Out[19]: topic content
0 A1 a
1 A1 b
2 A2 b
3 A2 c
4 A2 e
5 A3 a
6 A3 c
7 A3 d
8 A4 b
9 A4 c
Below is my current plot:
How can I sort y-axis in a different order? Such as ['b', 'c', 'a', 'd', 'e'] with 'b' in the bottom?