-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Is it possible to remove a certain row?
Here is the code I have:
doc = Document('File.docx')
for table in doc.tables:
for row in table.rows:
if "TEXT" in row.cells[1].text:
print(row.cells[1].text)
# REMOVE THIS ROW
There is an add_row()
function but there isn't a remove row. How would I go about removing this row?