hello,
i have a list,
example,
a , b , b , a , a , e , a
i want to get the individual counts of a value before a change in value.
if i use "count", it simply gives me a=4. another issue is that the value "a" appears again later in the list.
i want the output to be,
a,1
b,2
a,2
e,1...