Scrape HTML Tables
Easy script to scrape tables from a website from Stack Overflow .
import requests
import pandas as pd
url = 'URL'
html = requests.get(url).content
df_list = pd.read_html(html)
df = df_list[-1]
print(df)
Easy script to scrape tables from a website from Stack Overflow .
import requests
import pandas as pd
url = 'URL'
html = requests.get(url).content
df_list = pd.read_html(html)
df = df_list[-1]
print(df)