我需要先读取同一份excel的sheet1的第一行的资料
然后复制写入同一份excel的sheet2的第一行
我目前只知道pandas要写入是用data.to_excel的指令
但是这个好像是创一个新的excel并写入
而我需要的是写入同一份excel的sheet2的第一行
想请教有什么指令可以做到我的需求
以下code的sheet_name=8是我内文讲得sheet1
import pandas as pd
data=pd.read_excel("C:/Python/data.xlsx",sheet_name=8)
a=data.iloc[0,:]
写到这边就卡住了
麻烦大神们指点迷津