pandas读取excel文件某一sheet里的某几列

可以使用pandas的read_excel函数读取excel文件中特定sheet的某几列数据,例如:df = pd.read_excel('sample.xlsx', sheet_name='Sheet1', usecols=[0,3,5])

猜你喜欢

转载自blog.csdn.net/weixin_35748962/article/details/129447674