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

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -