You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
올려주신 네이버 웹스크롤 가능한 코드로 했는데 이런식으로 뜹니다.
혹시 조언해주실 수 있나요?
Traceback (most recent call last):
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'code'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\myPackage\cho_DBUpdater.py", line 161, in
dbu = DBUpdater()
File "c:\myPackage\cho_DBUpdater.py", line 41, in init
self.update_comp_info()
File "c:\myPackage\cho_DBUpdater.py", line 57, in update_comp_info
self.codes[df['code'].values[idx]]=df['company'].values[idx] #�о�� ���̺��� �̿��� codes ��ųʸ��� �����.
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\frame.py", line 3458, in getitem
indexer = self.columns.get_loc(key)
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'code'
The text was updated successfully, but these errors were encountered:
올려주신 네이버 웹스크롤 가능한 코드로 했는데 이런식으로 뜹니다.
혹시 조언해주실 수 있나요?
Traceback (most recent call last):
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'code'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\myPackage\cho_DBUpdater.py", line 161, in
dbu = DBUpdater()
File "c:\myPackage\cho_DBUpdater.py", line 41, in init
self.update_comp_info()
File "c:\myPackage\cho_DBUpdater.py", line 57, in update_comp_info
self.codes[df['code'].values[idx]]=df['company'].values[idx] #�о�� ���̺��� �̿��� codes ��ųʸ��� �����.
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\frame.py", line 3458, in getitem
indexer = self.columns.get_loc(key)
File "C:\Users\chohjender\anaconda3\lib\site-packages\pandas\core\indexes\base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'code'
The text was updated successfully, but these errors were encountered: