[SOLVED] ParserError: Error tokenizing data. C error - Solve in 10 Secs

preview_player
Показать описание
This Tutorial helps you to get rid of records which you feel irrelavent and overcome "ParserError: Error tokenizing data"

ParserError: Error tokenizing data. C error: Expected 83 fields in line 40, saw 92
Рекомендации по теме
Комментарии
Автор

Thanks.
method is deprecated now. You can use on_bad_lines('skip') parameter instead. Other options available(check documentation).

For beginners(use this snippet to load only proper columns and skip others):
df =pd.read_csv("your csv file path", on_bad_lines='skip'

archbtw
Автор

Hi, thanks for the video, I tried doing this but in excel there's no entry at all at the error location, how to solve this error then?

ravali
Автор

What about the rest data in that line 🤣👌

anandv.p