Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas save csv list as columns

import csv

rows = zip(list1,list2,list3,list4,list5)

with open(newfilePath, "w") as f:
    writer = csv.writer(f)
    for row in rows:
        writer.writerow(row)
 
PREVIOUS NEXT
Tagged: #pandas #save #csv #list #columns
ADD COMMENT
Topic
Name
3+1 =