I have a CSV data file with rows that may have lots of columns 500+ and some with a lot less. I need to transpose it so that each row becomes a column in the output file. The problem is that the rows in the original file may not all have the same number of columns so when I try the transpose method of array I get an `transpose': element size differs (12 should be 5) (IndexError)
Is there an alternative to transpose that works with uneven array lenghts?