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
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us