How can I save a 2D array into a CSV by rotating the array by 90 degree?
I tried numpy np.rot90, it alters the position of the elements.
>>> a = np.array([[88,87],[78,77],[68,67],[58,57]])
>>> a
array([[88, 87],
[78, 77],
[68, 67],
[58, 57]])
>>>
csv should look like -
88, 78, 68, 58
87, 77, 67, 57