python如何在excel通过多条件得到单元格的数据?

时间:2024-10-16 15:37:31

1、首先在filepathName = pd.read_excel(filepathName, sep='') #读取表格中数据。

python如何在excel通过多条件得到单元格的数据?

3、然后呢for rx in range(1,ws.max_row+1): #遍历表格中的行数。

python如何在excel通过多条件得到单元格的数据?

5、快好了在money = ws.cell(row=rx, column=1).value #获取表中第1列所有的数据kind = ws.cell(row=rx, column=2).value #获取表中第2列所有的数据data_dic.append(temp_list)

python如何在excel通过多条件得到单元格的数据?
© 2025 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com