title: How to scrape and merge visible and hidden data from table with BeautifulSoup?
body: <p>I want to obtain on a single DataFrame all the different tables from each company scraping this web page:</p>
  <p><a href="https://rk.americaeconomia.com/display/embed/500-latam/2021" rel="nofollow noreferrer">https://rk.americaeconomia.com/display/embed/500-latam/2021</a></p>
  <p>or</p>
  <p><a href="https://www.americaeconomia.com/negocios-industrias/estas-son-las-500-mayores-empresas-de-america-latina-2021" rel="nofollow noreferrer">https://www.americaeconomia.com/negocios-industrias/estas-son-las-500-mayores-empresas-de-america-latina-2021</a></p>
  <p>It has been very difficult to find a solution.</p>