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\lssik\AppData\Local\Programs\Python\Python38\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: 'Id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\lssik\AppData\Roaming\Python\Python38\site-packages\IPython\core\interactiveshell.py", line 3418, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py', wdir='C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS')
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 101, in
mainMenu()
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 47, in mainMenu
RecognizeFaces()
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 95, in RecognizeFaces
Recognize.recognize_attendence()
File "C:\Users\lssik\Desktop\New folder\Face-Recognition-Attendance-System\Face-Recognition-Attendance-System\FRAS\Recognize.py", line 39, in recognize_attendence
aa = df.loc[df['Id'] == Id]['Name'].values
File "C:\Users\lssik\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\frame.py", line 3455, in getitem
indexer = self.columns.get_loc(key)
File "C:\Users\lssik\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\indexes\base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'Id'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "C:\Users\lssik\AppData\Local\Programs\Python\Python38\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: 'Id'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\lssik\AppData\Roaming\Python\Python38\site-packages\IPython\core\interactiveshell.py", line 3418, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py', wdir='C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS')
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 101, in
mainMenu()
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 47, in mainMenu
RecognizeFaces()
File "C:/Users/lssik/Desktop/New folder/Face-Recognition-Attendance-System/Face-Recognition-Attendance-System/FRAS/main.py", line 95, in RecognizeFaces
Recognize.recognize_attendence()
File "C:\Users\lssik\Desktop\New folder\Face-Recognition-Attendance-System\Face-Recognition-Attendance-System\FRAS\Recognize.py", line 39, in recognize_attendence
aa = df.loc[df['Id'] == Id]['Name'].values
File "C:\Users\lssik\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\frame.py", line 3455, in getitem
indexer = self.columns.get_loc(key)
File "C:\Users\lssik\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\indexes\base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'Id'
The text was updated successfully, but these errors were encountered: