my_table = tables[0]
rows = my_table.findChildren(['th', 'tr'])
for row in rows:
    cells = row.findChildren('td')
for cell in cells:
    value = cell.string
print('The value in this cell is %s' % value)
How do you get all the rows from a particular table using BeautifulSoup?