Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. 2019-03-20 11:14:13 [scrapy.core.engine] INFO: Spider closed (finished)
  2. /opt/anaconda3/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  3. """)
  4. etf
  5.  
  6. Traceback (most recent call last):
  7. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1790, in _validate_key
  8. error()
  9. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1785, in error
  10. axis=self.obj._get_axis_name(axis)))
  11. KeyError: 'the label [2019-03-19 11:14:15.467011] is not in the [index]'
  12.  
  13. During handling of the above exception, another exception occurred:
  14.  
  15. Traceback (most recent call last):
  16. File "ExecutionFiles/execution_check_prices.py", line 7, in <module>
  17. prices = CheckPrices(action_type=action_type)
  18. File "/euclidea/maruska/Risk/check_prices.py", line 171, in __init__
  19. if our_prices.loc[end_date, instrument] == 'nan':
  20. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1472, in __getitem__
  21. return self._getitem_tuple(key)
  22. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 870, in _getitem_tuple
  23. return self._getitem_lowerdim(tup)
  24. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 998, in _getitem_lowerdim
  25. section = self._getitem_axis(key, axis=i)
  26. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1911, in _getitem_axis
  27. self._validate_key(key, axis)
  28. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1798, in _validate_key
  29. error()
  30. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1785, in error
  31. axis=self.obj._get_axis_name(axis)))
  32. KeyError: 'the label [2019-03-19 11:14:15.467011] is not in the [index]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement