标签: python pandas csv
我有一个csv文件,其中一列的数据包含引号(即列为address,典型数据点为"3rd District, Silver Spring"。当我执行df = read_csv(file)时,在数据框中该值显示为3rd District, Silver Spring,没有引号。是否有办法强制read_csv在数据框本身中包含引号?我尝试使用quoting参数,但它没有似乎改变了什么。谢谢!
address
"3rd District, Silver Spring"
df = read_csv(file)
3rd District, Silver Spring
read_csv
quoting