pandas中DataFrame修改index、columns名的方法示例 一般常用的有两个方法:1、使用DataFrame.index=[newName],DataFrame.columns=[newName],这两种方法可 修改columns名