ignore nil rows value in openpyxl

Solutions on MaxInterview for ignore nil rows value in openpyxl by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "ignore nil rows value in openpyxl"
Ayla
12 Mar 2017
1for row in ws.iter_rows(min_col=adres[0], min_row=adres[1], max_col=adres[2], max_row=adres[3]):
2    if row[0].value is not None:
3        data_rows.append([cell.value for cell in row])
4    else: continue
5
similar questions
queries leading to this page
ignore nil rows value in openpyxl