Empty strings returned from valid mathematical operations #325
Unanswered
marcuskamkpmg
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hey @marcuskamkpmg could you share the |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hello all,
I've been running into this problem where pandas_ai returns the average of a column but not the sum of the column. The logs are shown below where 'July Budget' is a column containing only floats:
df['July Budget'].mean() <- this returns a string that contains the correct value
df['July Budget'].sum() <- this returns an empty string
Any idea why this happened? Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions