<jupyter_start><jupyter_text><jupyter_code>import requests
import json
symbol = "GOOG"
IEX_CLOUD_API_TOKEN = "Tpk_a70abc503af44d9f9aff8fad2425a0ac"
api_url = f"https://sandbox.iexapis.com/stable/stock/{symbol}/quote?token={IEX_CLOUD_API_TOKEN}"
data = requests.get(api_url).json()
print(data)
data

import pandas
page = pandas.read_html("https://en.wikipedia.org/wiki/List_of_S%26P_500_companies")
print(page)
stocks_table = page[0]
stocks_table = page[0]
print(stocks_table)
stocks_table.info()
stocks_columns = ["Ticker", "Price", "Market_Capitalization", "Shares to Buy"]
stocks_dataframe = pandas.DataFrame(columns = stocks_columns)
for symbol<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup