CaroLife commited on
Commit
b41bce1
·
verified ·
1 Parent(s): 6288c79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def extract_financial_data(ticker_names:list[str])-> str:
28
  stock_52w_change.append(current_ticker_info['52WeekChange'])
29
  profitsMargins.append(current_ticker_info['profitMargins'])
30
 
31
- df = pd.DataFrame([stock_52w_change, profitsMargins], columns=tickers, index=['52w change', 'profitMargins'])
32
  return f"Insights on stock52 and profitmargin {df}"
33
 
34
  except Exception as e:
 
28
  stock_52w_change.append(current_ticker_info['52WeekChange'])
29
  profitsMargins.append(current_ticker_info['profitMargins'])
30
 
31
+ df = pd.DataFrame([stock_52w_change, profitsMargins], columns=ticker_names, index=['52w change', 'profitMargins'])
32
  return f"Insights on stock52 and profitmargin {df}"
33
 
34
  except Exception as e: