Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-03-20 11:14:13 [scrapy.core.engine] INFO: Spider closed (finished)
- /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>.
- """)
- etf
- Traceback (most recent call last):
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1790, in _validate_key
- error()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1785, in error
- axis=self.obj._get_axis_name(axis)))
- KeyError: 'the label [2019-03-19 11:14:15.467011] is not in the [index]'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "ExecutionFiles/execution_check_prices.py", line 7, in <module>
- prices = CheckPrices(action_type=action_type)
- File "/euclidea/maruska/Risk/check_prices.py", line 171, in __init__
- if our_prices.loc[end_date, instrument] == 'nan':
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1472, in __getitem__
- return self._getitem_tuple(key)
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 870, in _getitem_tuple
- return self._getitem_lowerdim(tup)
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 998, in _getitem_lowerdim
- section = self._getitem_axis(key, axis=i)
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1911, in _getitem_axis
- self._validate_key(key, axis)
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1798, in _validate_key
- error()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1785, in error
- axis=self.obj._get_axis_name(axis)))
- 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