For a list x like this [8, 8, 8]
this works fine:
from collections import Counter
Counter(x)
For a list x like this though [[6, 88], [35, 64], [15, 7]]
the above does not work.
I am not interested in counting via sFrames, panda etc. Can this be done for such a list similarly, or do I have to make a new correctly concatenated value in the list so as to count?
I am not interested in the count of 6, 88, 35,... rather the count of [6,88], [35, 64]...
So the expected output should be:
Counter({[6,88]: 3}, ...)
if at all possible.