Basically, I want to write the data I have onto a .csv file in a specific layout. I have three arrays (one with x-coordinates, one with y-coordinates and one with z-coordinates) and I want them to be in three columns on the csv file.
For example, my arrays are:
x_array = [1,2,3,4,5]
y_array = [6,7,8,9,0]
z_array = [1,2,3,4,5]
and on the csv file they should look like this:
1,6,1
2,7,2
3,8,3
4,9,4
5,0,5
So far I have tried to use panda dataframe, but I cannot quite unpack this the way I need to later on, so I need a different method. I am out of ideas.
Thank you.