Error reading table in Python/Pandas -
i using python/pandas , when try to:
df = pd.read_table("/test/" + file, sep='\t')
i error:
'error tokenizing data. c error: expected 24 fields in line 6927, saw 26'
how overcome this?
try :-)
data = pd.read_csv('file1.csv', error_bad_lines=false)
Comments
Post a Comment