say i have a dataframe:
x
0 [0.5, 1.5, 2.5, 3.5, 4.5]
1 [5.5, 6.5, 7.5]
2 [8.5, 9.5, 10.5, 11.5]
3 [12.5, 13.5, 14.5, 15.5]
and i want to split the values to three separate columns(each column with two values each) as:
a b c
0 [0.5, 1.5] [2.5, 3.5] [4.5]
1 [5.5, 6.5] [7.5] 0
2 [8.5, 9.5] [10.5, 11.5] 0
3 [12.5, 13.5] [14.5, 15.5] 0
how do i do this?