I have 2 lists let's say
a = [1,2,3]
b = [4,5,6]
I want to write them in two columns in CSV file so when I open the excel sheet I see something like this :
col1 col2
1 4
2 5
3 6
How can I do this?
I used zip(a,b)
but the result is stored in one column:
col1
1 4
2 5
3 6