utf8报错解决方案
#-*- coding : utf-8 -*-
# coding: unicode_escape
import pandas as pd
data = pd.read_csv("a.csv",encoding="gbk")
data.head()
utf8报错解决方案
#-*- coding : utf-8 -*-
# coding: unicode_escape
import pandas as pd
data = pd.read_csv("a.csv",encoding="gbk")
data.head()
本文标题:pandas读取csv文件
本文链接:https://www.haomeiwen.com/subject/wfngbctx.html
网友评论