hello I have the following dataset:
I want to count the frequency of each value occuring across the entire dataset. I am aware of the value_count() which is works only on columns but not for the entire dataset.
I used the following code:
df.value_counts()
But it results in an error:
AttributeError: 'DataFrame' object has no attribute 'value_counts'
Please could you help me count the frequency of values across the whole dataset?