Python笔记——'utf-8' codec can't decode byte 0xc5 in position 0: invalid continuation byte
csv_road='file/school.csv'#导入数据school_df=pd.read_csv(csv_road)display(school_df.head(n=2))在读取数据时出现如下'utf-8'codeccan'tdecodebyte0xc5inposition0:invalidcontinuationbyte该报错说明csv文件不是utf-8编码形式,有两种方法可以解决。一种