pandas读取csv文件
2019-11-09 本文已影响0人
月夜星空下
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()