SyntaxFix
Write A Post
Hire A Developer
Questions
If anyone missed it out in the comments, try this:
dataframe[column].value_counts().to_frame()