================================================== ====
Title: Whole case
Location: oyuri
From: Aki
Date: 2018/11/30 (Friday) 11:55:29
================================================== =====
1: Aki
2018/12/05 (Wed) 17:33:17
"
An approval notice has been sent.
-------------------------------------------------- ------------------
2: Aki
2018/12/06 (Thursday) 17:14:30
I was notified by Mr. Id, the agent of the other party.
-------------------------------------------------- ------------------
3: kano, etc.
2018/12/07 (Friday) 11:44:45
Please call rito.
-------------------------------------------------- ------------------
这是我的文本文件,我已将其转换为CSV 我面临的唯一问题是文件中有双引号(“)时(例如,在条目号1的文件中) 如何在读取CSV文件时忽略双引号? 读取文件时使用的分隔符为\n
df = pd.read_csv(filename ,sep='\n', header=None)
这是:
尝试传递
quoting = csv.QUOTE_NONE
或(如果不起作用)玩quotechar
相关问题 更多 >
编程相关推荐