OfirArviv commited on
Commit
6f263d9
1 Parent(s): 0f4669f

fix typing bug in stocks.py

Browse files

Fix error in typing which cause the following exception:

File "/home/runner/.cache/huggingface/modules/datasets_modules/datasets/jlh-ibm--earnings_call/012754cae93b94f9282e75f1fcbc0b479228ef5d457509460e0c81633c79acfd/stocks.py", line 10, in StockMarketAnalyzer
market_data: dict[str, pd.DataFrame],

Files changed (1) hide show
  1. stocks.py +1 -1
stocks.py CHANGED
@@ -69,7 +69,7 @@ class StockMarketAnalyzer:
69
  return stock_ratio > sector_ratio
70
 
71
 
72
- def load_stock_prices(files: Iterable[Path]) -> dict[str, pd.DataFrame]:
73
  """
74
  Load stock prices from CSV files into a dictionary of DataFrames.
75
 
 
69
  return stock_ratio > sector_ratio
70
 
71
 
72
+ def load_stock_prices(files: Iterable[Path]) -> Dict[str, pd.DataFrame]:
73
  """
74
  Load stock prices from CSV files into a dictionary of DataFrames.
75