Finalize the AI model

This commit is contained in:
2026-03-10 17:26:11 -07:00
parent 234b9dcc70
commit 65b63b719b
3 changed files with 38 additions and 22 deletions
+3 -1
View File
@@ -17,8 +17,10 @@ def pull():
for i, symbol in enumerate(tickers):
df = yf.download(symbol, period="max", auto_adjust=True)
if not df.empty:
# Remove the ticker column
# Remove the Horizontal ticker column
df.columns = df.columns.get_level_values(0)
# Add in the Vertical ticker column
df['Ticker'] = symbol
# add to master list
all_data.append(df)