我运行了以下代码:
import dask.dataframe as dd
import csv
html_data=dd.read_csv('html_data.csv',quoting=3,error_bad_lines=False)
html_data.head()
输出为:
b'Skipping line 5: expected 2 fields, saw 228\nSkipping line 6: expected 2 fields, saw 4\nSkipping line 11: expected 2 fields, saw 6\nSkipping line..........
输出显示数据集的前5行,但我想删除之前显示的不必要信息。