A slight variant to other similar questions.
I want to split the column lists of unequal length and attach results back into original dataframe
Df1
ID Start Name
41625000 25/02/2020 09:34:22 ['A', 'B]
41625000 25/02/2020 09:34:22 ['A', 'B']
40250000 25/02/2020 09:34:22 ['C']
40250000 25/02/2020 09:34:22 ['C']
40250001 25/02/2020 09:34:22 ['C', 'D', 'E']
I would like the end result to look like:
ID Start Name2 Name3 Name4
41625000 25/02/2020 09:34:22 A B
41625000 25/02/2020 09:34:22 A B
40250000 25/02/2020 09:34:22 C
40250000 25/02/2020 09:34:22 C
40250001 25/02/2020 09:34:22 C D E
I will be grateful for any help!