Closed

Description
It would really helpful if there's a function for unnesting lists in columns into it's own row while repeating other rows on length of the unnest. I know there are ways to solving this but a function would be a good idea.
A small example to demonstrate the unnest function.
## Sample dataframe.
df = pd.DataFrame({'id': [1,2,3],
'name': [['test','test1','test2'],'test3','test4']})
print (df)
id name
0 1 [test, test1, test2]
1 2 test3
2 3 test4
To,
## An example
unnest(df, on = 'name')
id name
0 1 test
1 1 test1
2 1 test2
3 2 test3
4 3 test4