Untitled

 avatar
unknown
plain_text
2 months ago
2.0 kB
2
Indexable
Traceback (most recent call last):
  File "C:\ProgramData\anaconda3\envs\Atoti\Lib\site-packages\pandas\core\indexes\base.py", line 3805, in get_loc
    return self._engine.get_loc(casted_key)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
  File "index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
  File "pandas\\_libs\\hashtable_class_helper.pxi", line 7081, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas\\_libs\\hashtable_class_helper.pxi", line 7089, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'SecName'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\x528785\PycharmProjects\mars\cib-mars-cuboatotizspread\deploy\app\__main__.py", line 8, in <module>
    f.execute()
  File "C:\Users\x528785\PycharmProjects\mars\cib-mars-cuboatotizspread\deploy\app\RNIVCatalog.py", line 212, in execute
    self.data_load_controller.dlc_load_plvector_fr(query_params_plvector)
  File "C:\Users\x528785\PycharmProjects\mars\cib-mars-cuboatotizspread\deploy\app\data_loader\DataLoadController.py", line 178, in dlc_load_plvector_fr
    girr_fr_loader.transform()
  File "C:\Users\x528785\PycharmProjects\mars\cib-mars-cuboatotizspread\deploy\app\data_loader\specific\PLVectorLoader.py", line 126, in transform
    self.transformed_df[column] = self.transformed_df[column].astype('string')
                                  ~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "C:\ProgramData\anaconda3\envs\Atoti\Lib\site-packages\pandas\core\frame.py", line 4102, in __getitem__
    indexer = self.columns.get_loc(key)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ProgramData\anaconda3\envs\Atoti\Lib\site-packages\pandas\core\indexes\base.py", line 3812, in get_loc
    raise KeyError(key) from err
KeyError: 'SecName'
[2024-12-19 11:48:35,757][py4j.clientserver] INFO: Closing down clientserver connection
Leave a Comment