I'm working on python 3.4 and I have a pandas dataframe column containing:
0 [0.3785766661167145, -0.449486643075943, -0.15...]
1 [0.204025000333786, -0.3685399889945984, 0.231...]
2 [0.684576690196991, -0.5823000073432922, 0.269...]
3 [-0.02300500124692917, -0.22056499123573303, 0...]
Name: comments, dtype: object
and i would like to split it and turn it into multople columns:
column1 column2 ...columnx
0 0.3785766661167145 -0.449486643075943 last element in the first list
1 0.204025000333786 -0.3685399889945984 last element in the 2nd list
2 0.684576690196991 -0.5823000073432922 last element in the 3rd list
3 -0.02300500124692917 -0.22056499123573303 last element in the 4th list
Could you please help me ? Thanks in advance
