InvalidOutputValueMismatch #1110
Unanswered
programmingninjas
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I tried Changing the prompt little bit and now it's plotting multiple same charts one at a time. When i close them all i get the same error. from pandasai import SmartDataframe
from pandasai.llm import OpenAI
llm = OpenAI() # no need to pass the API key, it will be read from the environment variable
df = SmartDataframe("healthcare_dataset.csv", config={"llm": llm})
response = df.chat("Plot a pie chart for each medical condition in the dataset.")
print(response) |
Beta Was this translation helpful? Give feedback.
2 replies
-
Do you have a space in the path where you execute the notebook ( where pandas.ai could need to save the plot? )If so, then this validation will fail for your path |
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 trying to create a pie plot for all the diseases in a dataset but it shows me this error:
pandasai.exceptions.InvalidOutputValueMismatch: Value type <class 'str'> must match with type plot
Beta Was this translation helpful? Give feedback.
All reactions