I have below format of dataframe
student marks
a [12,12,34]
b [34,35]
c [23,45,23]
i want it to convert to like below
student marks_1 marks_2 marks_3
a 12 12 34
b 34 35 Nan
c 23 45 23
how to achieve this ? any help please