Say, I have following data in dataframe
a
-1043
-1107
-1110
-1115
-1193
-1274
-133
-135
I want to select data even and odd and basis and put side by side in another variable. I want result something like this
x y
-1043 -1107
-1110 -1115
-1193 -1274
-133 -135
How to do this in a simple way using pandas? Thanks in advance.