Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Python27\lib\site-packages\QSTK\qstkutil\qsdateutil.py:36: FutureWarning: TimeSeries is deprecated. Please use Series
- return pd.TimeSeries(index=dates, data=dates)
- Traceback (most recent call last):
- File "C:\Users\David\Desktop\Python\Coursera\Computational Finance\HomeWork1\PredJson.py", line 20, in <module>
- grouped = df.groupby(asset)
- File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 3436, in groupby
- sort=sort, group_keys=group_keys, squeeze=squeeze)
- File "C:\Python27\lib\site-packages\pandas\core\groupby.py", line 1311, in groupby
- return klass(obj, by, **kwds)
- File "C:\Python27\lib\site-packages\pandas\core\groupby.py", line 418, in __init__
- level=level, sort=sort)
- File "C:\Python27\lib\site-packages\pandas\core\groupby.py", line 2264, in _get_grouper
- in_axis, name, gpr = True, gpr, obj[gpr]
- File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 1969, in __getitem__
- return self._getitem_column(key)
- File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 1976, in _getitem_column
- return self._get_item_cache(key)
- File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 1091, in _get_item_cache
- values = self._data.get(item)
- File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 3211, in get
- loc = self.items.get_loc(item)
- File "C:\Python27\lib\site-packages\pandas\core\index.py", line 1759, in get_loc
- return self._engine.get_loc(key)
- File "pandas\index.pyx", line 137, in pandas.index.IndexEngine.get_loc (pandas\index.c:3979)
- File "pandas\index.pyx", line 157, in pandas.index.IndexEngine.get_loc (pandas\index.c:3843)
- File "pandas\hashtable.pyx", line 668, in pandas.hashtable.PyObjectHashTable.get_item (pandas\hashtable.c:12265)
- File "pandas\hashtable.pyx", line 676, in pandas.hashtable.PyObjectHashTable.get_item (pandas\hashtable.c:12216)
- KeyError: 'Poloniex_DOGE_BTC'
- [Finished in 1.9s with exit code 1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement