You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File f:\miniconda3\envs\ml4t\lib\site-packages\pandas\io\pytables.py:790, in HDFStore.get(self, key)
788 group = self.get_node(key)
789 if group is None:
--> 790 raise KeyError(f"No object named {key} in the file")
791 return self._read_group(group)
KeyError: 'No object named quandl/wiki/prices in the file'
I get this and there seem to be no quandl/wiki/prices in assets.h5. am i missing something or is this just a mistake?
The text was updated successfully, but these errors were encountered:
File c:\Users\frede\Downloads\trading_env.py:75, in DataSource.load_data(self)
73 idx = pd.IndexSlice
74 with pd.HDFStore('../data/assets.h5') as store:
---> 75 df = (store['quandl/wiki/prices']
76 .loc[idx[:, self.ticker],
77 ['adj_close', 'adj_volume', 'adj_low', 'adj_high']]
78 .dropna()
79 .sort_index())
80 df.columns = ['close', 'volume', 'low', 'high']
81 log.info('got data for {}...'.format(self.ticker))
File f:\miniconda3\envs\ml4t\lib\site-packages\pandas\io\pytables.py:596, in HDFStore.getitem(self, key)
595 def getitem(self, key: str):
--> 596 return self.get(key)
File f:\miniconda3\envs\ml4t\lib\site-packages\pandas\io\pytables.py:790, in HDFStore.get(self, key)
788 group = self.get_node(key)
789 if group is None:
--> 790 raise KeyError(f"No object named {key} in the file")
791 return self._read_group(group)
KeyError: 'No object named quandl/wiki/prices in the file'
I get this and there seem to be no quandl/wiki/prices in assets.h5. am i missing something or is this just a mistake?
The text was updated successfully, but these errors were encountered: