table = html.fragment_fromstring(text)
for row in table.iterchildren():
    row.remove(row.getchildren()[1])
print(html.tostring(table, pretty_print=True))
How do I remove a column from a table in beautifulsoup (Python)