设置

error_bad_lines=False

代码:

data = pd.read_csv(question_answer_filename,
                   converters=line_converters, sep="\0", lineterminator="\n", header=None, error_bad_lines=False)