Is it possible to read csv
files in columns instead of rows in python?
e.g. if i have a csv file like this:
a b c 1 0 1 1 4 1
How woul
You are looking for transpose functionality. To solve your problem,
[(a,b,c),(1,0,1),(1,4,1)..]
Post transpose , your data will look like [(a,1,1),(b,0,4)..]