Beautiful Soup AssertionError
问题 I am trying to scrape this website into a .CSV and I am getting an error that says: AssertionError: 9 columns passed, passed data had 30 columns . My code is below, it is a little messy because I exported from Jupyter Notebook. from urllib.request import Request, urlopen from bs4 import BeautifulSoup as soup import pandas as pd url = 'https://apps.azsos.gov/apps/election/cfs/search/CandidateSearch.aspx' req = Request(url , headers={'User-Agent': 'Mozilla/5.0'}) html = urlopen(req).read() soup