标签: python pandas dataframe
我想删除“成绩”列
文件1:
Name Grade School Class .... ... ...
文件2:
Name School Class .... ... ...
这是我的代码:
for file in files: df = pd.read_excel(file, header=0) df = df.drop(['Grade'],axis=1)
但是错误是“轴中不包含标签等级”