在Python中pandas.DataFrame重置索引名称的实例 例子:创建DataFrame###导入模块importnumpyasnpimportpandasaspdimportmatplotlib.pyplotasplttest=pd.DataFrame({'a' 重置索引