-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error while printing (high_temps) #23
Comments
can you tell me that in which file does this piece of code exists??? |
I was referring to Python/Web Data Mining/Python BeautifulSoup Web Scraping Tutorial.ipynb |
okayy |
Hey ChongLC,i have created a pull request which solves this issue.I am new to Git,so could you please tell me if my PR is correct,like can the author merge it now if only it is correct. |
Try this
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
high_temps = []
for row in rows:
tds = row.find_all('td')
for i in range(1,7):
high_temps.append(tds[i].text)
print(high_temps)
IndexError Traceback (most recent call last)
in ()
8 tds = row.find_all('td')
9 for i in range(1,7):
---> 10 high_temps.append(tds[i].text)
11 print(high_temps)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: