📜  忽略 openpyxl 中的 nil 行值 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:21.838000             🧑  作者: Mango

代码示例1
for row in ws.iter_rows(min_col=adres[0], min_row=adres[1], max_col=adres[2], max_row=adres[3]):
    if row[0].value is not None:
        data_rows.append([cell.value for cell in row])
    else: continue