79494124

Date: 2025-03-08 08:49:30
Score: 1
Natty:
Report link

Try to simplify your code as

row1 = table.find_all("tr")
for r1 in row1[1:]:
    data = r1.find("a", class_="ab1").text.strip() 
    df.loc[len(df), 'Column_Name'] = data
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.