2024-12-21用pandas读取MRPC数据库时报错:pandas.errors.ParserError: Error tokenizing data. C error: Expected 5 fields in读取的代码很简单,如下:data_path='MRPC/msr_paraphrase_test.txt'df=pd.read_csv(data_path,sep='\t',encoding='utf-8')困扰了一下午,最后本来不打算解决了。想着直接跳过错误,即:df=pd.read_csv(data_path,sep='\t',encoding='utf-8',on_