1 min readDec 4, 2018
pandas has a nice utility that does all that for you — after you have your html for your table from the soup, pandas will read that into a dataframe directly:
import pandas as pddata = pd.read_html(table_html)[0]
pandas has a nice utility that does all that for you — after you have your html for your table from the soup, pandas will read that into a dataframe directly:
import pandas as pddata = pd.read_html(table_html)[0]