赞
踩
import pandas as pd
df = pd.read_csv("univRangking.csv")
encoding=‘文件编码方式’
df = pd.read_csv("univRangking.csv", engine="python", header=None, encoding="gbk")
df.columns = ["排名", "学校名称", "省份", "总分"]
df
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。