Extract HTML Table Based on Specific Column Headers - Python
问题 I am trying to extract html tables from the following URL . For example, 2019 Director Compensation Table that is on page 44. I believe the table doesn't have a specific id, such as 'Compensation Table' etc.. To extract the table I can only think of matching column names or keywords such as "Stock Awards" or "All Other Compensation" then grabbing the associated table. Is there an easy way to extract these tables based on column names? Or maybe an easier way? Thanks! I am relatively new at