pandas.read_html to read a local webpage code example
Example: pandas read from website
pd.read_html('https://finance.yahoo.com/quote/TSLA/profile?p=TSLA')[0]
pd.read_html('https://finance.yahoo.com/quote/TSLA/profile?p=TSLA')[0]