Dash and Plotly Express - Callback Error #27
Unanswered
MoeKhalil-py
asked this question in
Q&A
Replies: 1 comment
-
hi @MoeKhalil-py
To this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to using dash (thanks to Adam and his Youtube Videos!). I'm working on creating a simple dashboard including 2 pie charts and dropdowns.
However, when I launch the dashboard, I'm getting a callback error. this is the traceback error message I'm getting:
Traceback (most recent call last):
File "C:\Users\mo.khalil\AppData\Local\Programs\Python\Python310\lib\site-packages\pandas\core\indexes\base.py", line 3621, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 163, 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: False
The above exception was the direct cause of the following exception:
KeyError: False
I'm not sure why I'm getting this error message although I've fixed everything that I could think of. Your help would be greatly appreciated. below is the code I've written so far, along with the csv file I'm using to test my code:
ice socks.csv
Beta Was this translation helpful? Give feedback.
All reactions