Let's say I have this array x:
x = array([1, 2, 3, 4, 5, 6, 7, 8])
x.shape = (8,1)
I want to reshape it to become
array([[1, 3, 5, 7],
[2, 4, 6, 8]])
this is a reshape(2, 4) on x but in the straight forward way:
y = x.reshape(2,4)
y becomes
array([[1, 2, 3, 4],
[5, 6, 7, 8]])
and that's not what I want. Is there a way to transform the array in that specific way?