can anyone help me understand why the below code provides a table with a load of NaN in the cells.. Ive looked thru the data, some has (), some has "< b r >" tags and some is just plain text but still gives NaN and other strings seem fine. Cant fathom why.
import requests
import pandas as pd
headers = {'User-Agent': 'Mozilla/5.0'}
url = "https://www.cpu-world.com/CPUs/Bulldozer/AMD-FX-Series%20FX-8100.html"
r = requests.get(url, headers=headers)
df_list = pd.read_html(r.text, attrs={"class": "spec_table"})
print(df_list)
