I am trying to plot the 10 most frequent values of a column named 'content' in my dataframe.
I think i'm not too far but my code needs to be improved.
Here it is : df_sample['content'].value_counts()[:10].plot().hist() but i have some troubles with the axes I want the content numbers on my X-axis and the frequencies on the Y-Axis.
I also tried this : a = df_sample['content'].value_counts()[:10]
a.plot(kind='hist') but it outputs the frequencies in the Y-Axis and none of my codes show the content numbers.
Thank you in advance for your help!
