Answers for "ignore nil rows value in openpyxl"

0

ignore nil rows value in openpyxl

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
Posted by: Guest on May-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language