companies = [] job_exps = [] t = doc.tables[0] for row in t.rows: work_date = row.cells[0].text company_info = row.cells[2].text exp = list(filter(lamb