下面是pandas移动最后一行的到第一行的方法 dfkucunhe.reindex(index=dfkucunhe.index.insert(0, '门店库存合计')).drop_duplicates()