-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
facing issue in execution #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I liked your work. And wanted to use your work for learning purpose. I am facing the following error during execution of the third cell of notebook. can you please address this issue?
_election_results_df(html)
29 tag = soup.find(text=re.compile("STATE*"))
30 # navigate to the table row tag
---> 31 #tag = tag.parent.parent.parent
32 # table_cols = [x.text.strip() for x in tag.find_all("td")]
33 # get the candidate names or parti affiliation
AttributeError: 'NoneType' object has no attribute 'parent'
The text was updated successfully, but these errors were encountered: