We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am new to Chainlit.
I am wondering if it is possible to render Pandas DataFrame similar to what Streamlit does
Attempts:
I haven't found DataFrame-related Element in the API Reference document:
Text Image File PDF viewer Audio Video Avatar Plotly Pyplot TaskList
And I found the demo video was able to render DataFrame (but haven't found the source code yet)
Directly returning DataFrame or using df.to_html() at a @cl.step function didn't do the trick.
df.to_html()
@cl.step
The text was updated successfully, but these errors were encountered:
Chainlit support markdown so you can use markdown tables. Here is an example to convert a DF to a markdown table
Sorry, something went wrong.
I believe #1373 is on the way to implement this feature. Hopefully, it will be available soon!
No branches or pull requests
Hi, I am new to Chainlit.
I am wondering if it is possible to render Pandas DataFrame similar to what Streamlit does
Attempts:
I haven't found DataFrame-related Element in the API Reference document:
And I found the demo video was able to render DataFrame (but haven't found the source code yet)
intro.mp4
Directly returning DataFrame or using
df.to_html()
at a@cl.step
function didn't do the trick.The text was updated successfully, but these errors were encountered: