-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
This error occurs when I am asking it to find sum of rows of certain column after filtering the rows by value of another column. In case of value being string, its applying the flag=re.IGNORECASE which is throwing the error re is not defined
This is the command returned by chatGPT:
df[df['Description/Narration'].str.contains('MONTHLY INTEREST', flags=re.IGNORECASE)]['Credit(Cr.)'].sum()
I asked this question:
df_table.llm.query("What is the total credit with MONTHLY INTEREST in Description?")
Metadata
Metadata
Assignees
Labels
No labels