Find answers from the community

Updated 2 months ago

I would also like to point out that i

I would also like to point out that i tried playing with max_colwidth parameter, but it didn't make any difference. Here is how I am setting it -
Plain Text
groq_query_engine = PandasQueryEngine(
    df=df,
    output_kwargs={"max_colwidth" : None},
    llm=groq_llm,
    verbose=True,
    synthesize_response=True,
    stream=True,
)
L
d
9 comments
doesn't pandas have like a global option for this?
yeah, but it doesn't seem to work
the point is llama-index is doing it here -
Attachment
image.png
but strangely it doesn't seem to impact it
also the output is different if I run in jupyter notebook
it is able to show the full view of the output
I think i found the issue, if i set pd.set_option('display.max_columns', None) things work fine
so i guess the code in the llama-index should also take this option along with display.max_colwidth
Add a reply
Sign up and join the conversation on Discord