i tried the scraping of a wikipedia page
here i tried to scrape the 3rd table
my code:
https://drive.google.com/file/d/1hVLLA-e1RiEw22SJcPR7lJ8GhiG5kc_R/view?usp=sharing
here the output is not coming correctly it is outputting a blank table
please tell what is the problem in my code
Web scraping of wikipedia page
hey @anikaitgupta3 ,
with the current way it is quite tricky
you can simply try this
import pandas as pd
tables = pd.read_html(‘https://en.wikipedia.org/wiki/List_of_Indian_states_and_union_territories_by_literacy_rate’)
table = tables[3]
table