human
How do I extract table data in pairs using BeautifulSoup?
assistant
Here is some code to extract table data from table `rows` using beautifulsoup

[[td.findNext(text=True) for td in tr.findAll('td')] for tr in rows]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.