Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ignore #nil #rows #openpyxl
ADD COMMENT
Topic
Name
6+3 =