Skip to content

Instantly share code, notes, and snippets.

@seathief
Created June 29, 2020 14:32
Show Gist options
  • Save seathief/3114641e67ddd4708f698074162d7ea2 to your computer and use it in GitHub Desktop.
Save seathief/3114641e67ddd4708f698074162d7ea2 to your computer and use it in GitHub Desktop.
[pandas read_html] pandas syntax for parsing html #pandas
from io import StringIO
with open('MA.html', 'r') as f:
sio = StringIO(f.read())
dfs = pd.read_html(sio)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment