-1
I’m trying to delete lines that have data repeated this way:
nome = sheet['I2'].value
for coluna in sheet.iter_cols(min_col=9, max_col=9, min_row=3):
for celula in coluna:
if celula.value == nome:
sheet.delete_rows(celula,1)
else:
nome = celula.value
Gives the following error:
Typeerror: int() argument must be a string, a bytes-like Object or a number, not 'Cell'
Someone knows a solution?