-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'Enrollment' #2
Comments
Anyone to help with this problem? |
Simple, check your CSV file and match the header name. if it would be
different then this error happens.
…On Mon, Jun 8, 2020 at 7:05 PM Hojeah2663 ***@***.***> wrote:
Anyone to help with this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKA3TJA3DSFO2JTTETDWFOLRVTSIZANCNFSM4JJP6DKA>
.
|
have you solve this issue |
Yes, I can solve remotely for you, but it will be paid, If you want to do
it by yourself then check the CSV file. Something is wrong in that.
…On Fri, Oct 9, 2020 at 3:04 AM Talha Yaqoob ***@***.***> wrote:
Anyone to help with this problem?
have you solve this issue
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKA3TJG44MVNSUTHFYOLQYDSJYV6HANCNFSM4JJP6DKA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kamakshis-MacBook-Pro-8:p1 kamakshi$ python3 AMS_Run.py
31.00870159238623
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2897, in get_loc
return self._engine.get_loc(key)
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Enrollment'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/init.py", line 1705, in call
return self.func(*args)
File "AMS_Run.py", line 359, in Fillattendances
aa = df.loc[df['Enrollment'] == Id]['Name'.values]
File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 2995, in getitem
indexer = self.columns.get_loc(key)
File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2899, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Enrollment'
The text was updated successfully, but these errors were encountered: