Find answers from the community

Updated 6 months ago

can i manually correct the pd formula

At a glance

The community member is having an issue with the pandas formula for the panda index, where it keeps giving the wrong response, such as the sales for the whole year instead of the busiest day. The first comment suggests checking the response.extra_info to access the pandas instruction, and provides a link to the relevant code. The second comment indicates that the community member may have already found this information. The third comment asks if someone not very technical can edit and add these functions to their website.

Useful resources
can i manually correct the pd formula for panda index? it keeps giving me the wrong response. e.g. i ask for the sales on the busiest day and it keeps giving me the sales for the whole year
L
M
3 comments
You can access the pandas instruction str by checking response.extra_info I think?

https://github.com/jerryjliu/llama_index/blob/main/gpt_index/indices/struct_store/pandas_query.py#L137
Oh, I think you already found this lol
for someone not very technical, i can edit and add these functions to my website?
Add a reply
Sign up and join the conversation on Discord