pandas按行读取excel

# -*- coding: utf-8 -*-
import pandas as pd

IO = "ABC.xlsx"
df = pd.DataFrame(pd.read_excel(io=IO, sheet_name="翻译列表"))
for index, row in df.iterrows():
    print(row)

 

posted @ 2021-09-06 16:27  kakaok  阅读(2791)  评论(0编辑  收藏  举报