based also on this post and this post, I try to count the frequency in a column. When I run it on a int64 column with:
df['value'].value_counts()
I get the desired outcome:
10000.00 2
50 1
....
Where when I run it on the object column:
df['text'].value_counts()
I get the error:
AttributeError: 'DataFrame' object has no attribute 'value_counts'
On top, if I run:
df.groupby('text').count()
I get the error:
ValueError: Grouper for 'WHRG GEGENWERT' not 1-dimensional
What could be the problem?