Skip to content

Instantly share code, notes, and snippets.

@anitaokoh
Created July 14, 2019 08:48
Show Gist options
  • Save anitaokoh/04035b472a7ab5858f96fe15c3b1adce to your computer and use it in GitHub Desktop.
Save anitaokoh/04035b472a7ab5858f96fe15c3b1adce to your computer and use it in GitHub Desktop.
import pandas as pd
website = 'url_of_choice'
website_table = pd.read_html(website)
df = pd.DataFrame(website_table[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment