I have a data.frame
like
word | count
-------------
a,b,c| 5
c,d | 3
c,d,e| 10
I want to split strings for each row to get this:
word | count
-------------
a | 5
b | 5
c | 5
c | 3
d | 3
c | 10
d | 10
e | 10
How can I do this?