我需要创建一个名为“indicators”的新数据框,该数据框由“Indicator Name”和“Indicator Code”列组成,删除所有重复的条目,然后
将“指标代码”列设置为“指标”的索引
指标将用作指标
#访问和索引行:
wdi = pd.DataFrame(Country Name,
columns=["Indicator Name", "Indicator Code"],
index=Country Name[indicators])
print(wdi.loc[])
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐