解决方法:设置quoting=csv.QUOTE_NONE参数
import csv
chat = pd.read_csv("f.text",sep = "\t", header = None, usecols = [2], quoting=csv.QUOTE_NONE)
参考:Rows are lost when reading this tab-separated file with pandas read_csv
解决方法:设置quoting=csv.QUOTE_NONE参数
import csv
chat = pd.read_csv("f.text",sep = "\t", header = None, usecols = [2], quoting=csv.QUOTE_NONE)
参考:Rows are lost when reading this tab-separated file with pandas read_csv