SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
dataframe[column].value_counts().index.tolist() ['apple', 'sausage', 'banana', 'cheese']