Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. raceback (most recent call last):
  2. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3109, in get_value
  3. return libindex.get_value_box(s, key)
  4. File "pandas/_libs/index.pyx", line 55, in pandas._libs.index.get_value_box
  5. File "pandas/_libs/index.pyx", line 63, in pandas._libs.index.get_value_box
  6. TypeError: 'str' object cannot be interpreted as an integer
  7.  
  8. During handling of the above exception, another exception occurred:
  9.  
  10. Traceback (most recent call last):
  11. File "ExecutionFiles/execution_private_area_update.py", line 26, in <module>
  12. threading_processes=6
  13. File "/euclidea/maruska/AreaPrivata/private_area_main.py", line 196, in update_all_clients_private_area
  14. sql_update_is_performed_sequentially=sql_update_is_performed_sequentially
  15. File "/euclidea/maruska/AreaPrivata/private_area_main.py", line 35, in single_client_full_update_private_area
  16. carve_out_known_troublesome_clients=carve_out_known_troublesome_clients)
  17. File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 434, in __init__
  18. apply_tax=False)
  19. File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 266, in apply_adjustments
  20. lambda x: x.truncate(before=starting_dates_of_each_client[x.name[0]]))
  21. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py", line 6004, in apply
  22. return op.get_result()
  23. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 318, in get_result
  24. return super(FrameRowApply, self).get_result()
  25. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 142, in get_result
  26. return self.apply_standard()
  27. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 248, in apply_standard
  28. self.apply_series_generator()
  29. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/apply.py", line 277, in apply_series_generator
  30. results[i] = self.f(v)
  31. File "/euclidea/maruska/AreaPrivata/client_performance_decomposition_core_piece.py", line 266, in <lambda>
  32. lambda x: x.truncate(before=starting_dates_of_each_client[x.name[0]]))
  33. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/series.py", line 766, in __getitem__
  34. result = self.index.get_value(self, key)
  35. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3117, in get_value
  36. raise e1
  37. File "/opt/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 3103, in get_value
  38. tz=getattr(series.dtype, 'tz', None))
  39. File "pandas/_libs/index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value
  40. File "pandas/_libs/index.pyx", line 114, in pandas._libs.index.IndexEngine.get_value
  41. File "pandas/_libs/index.pyx", line 162, in pandas._libs.index.IndexEngine.get_loc
  42. File "pandas/_libs/hashtable_class_helper.pxi", line 1492, in pandas._libs.hashtable.PyObjectHashTable.get_item
  43. File "pandas/_libs/hashtable_class_helper.pxi", line 1500, in pandas._libs.hashtable.PyObjectHashTable.get_item
  44. KeyError: ('WM8FVQ1L', 'occurred at index (WM8FVQ1L, AXA WF Euro Credit Short Duration EUR)')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement