Reading csv with numpy has extra row of 1's
Reading csv with numpy has extra row of 1's Question: I am using np.genfromtxt to read a csv file, and trying to use the converters argument to preprocess each column. CSV: "","Col1","Col2","Col3" "1","Cell.1",NA,1 "2","Cell.2",NA,NA "3","Cell.3",1,NA "4","Cell.4",NA,NA "5","Cell.5",NA,NA "6","Cell.6",1,NA Code: import numpy as np filename = ‘b.csv’ h = ("", "Col1", "Col2", "Col3") def col1_converter(v): print(f’col1_converter …