i have a data frame that is built like this :
data = {'name':["['jem','nate','dory']", "['dave','roshy','nomy','pika']", "['kosh','liam']"], 'depart' : ['a','b','c']}
name depart
0 ['jem','nate','dory'] a
1 ['dave','roshy','nomy','pika'] b
2 ['kosh','liam'] c
I want to explode this into something like this
name depart
jem a
nate a
dory a
dave b
roshy b
normy b
pika b
kosh c
liam c
TIA for the help