Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- raceback (most recent call last):
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3109, in get_value
- return libindex.get_value_box(s, key)
- File "pandas/_libs/index.pyx", line 55, in pandas._libs.index.get_value_box
- File "pandas/_libs/index.pyx", line 63, in pandas._libs.index.get_value_box
- TypeError: 'str' object cannot be interpreted as an integer
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "ExecutionFiles/execution_private_area_update.py", line 26, in <module>
- threading_processes=6
- File "/euclidea/maruska/AreaPrivata/private_area_main.py", line 196, in update_all_clients_private_area
- sql_update_is_performed_sequentially=sql_update_is_performed_sequentially
- File "/euclidea/maruska/AreaPrivata/private_area_main.py", line 35, in single_client_full_update_private_area
- carve_out_known_troublesome_clients=carve_out_known_troublesome_clients)
- File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 434, in __init__
- apply_tax=False)
- File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 266, in apply_adjustments
- lambda x: x.truncate(before=starting_dates_of_each_client[x.name[0]]))
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py", line 6004, in apply
- return op.get_result()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 318, in get_result
- return super(FrameRowApply, self).get_result()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 142, in get_result
- return self.apply_standard()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 248, in apply_standard
- self.apply_series_generator()
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 277, in apply_series_generator
- results[i] = self.f(v)
- File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 266, in <lambda>
- lambda x: x.truncate(before=starting_dates_of_each_client[x.name[0]]))
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/series.py", line 766, in __getitem__
- result = self.index.get_value(self, key)
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3117, in get_value
- raise e1
- File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3103, in get_value
- tz=getattr(series.dtype, 'tz', None))
- File "pandas/_libs/index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value
- File "pandas/_libs/index.pyx", line 114, in pandas._libs.index.IndexEngine.get_value
- File "pandas/_libs/index.pyx", line 162, in pandas._libs.index.IndexEngine.get_loc
- File "pandas/_libs/hashtable_class_helper.pxi", line 1492, in pandas._libs.hashtable.PyObjectHashTable.get_item
- File "pandas/_libs/hashtable_class_helper.pxi", line 1500, in pandas._libs.hashtable.PyObjectHashTable.get_item
- KeyError: ('WM8FVQ1L', 'occurred at index (WM8FVQ1L, AXA WF Euro Credit Short Duration EUR)')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement