I am reading a csv with
numpy.genfromtxt(csv_name, delimiter=',')
but I am unable to do so because my csv contains different no of columns for each row.
o/p:
ValueError: Some errors were detected
Line #2 (got 8 columns instead of 7)
Line #3 (got 8 columns instead of 7)
Line #4 (got 8 columns instead of 7)
Line #6 (got 8 columns instead of 7)
Line #7 (got 5 columns instead of 7)
Line #8 (got 5 columns instead of 7)
Line #9 (got 5 columns instead of 7)
Line #10 (got 5 columns instead of 7)
Is is possible to do with numpy?