Dataframe class is designed to send a dataframe to the chatbot user interface. Both pandas and polars DataFrames are supported — neither library is a hard dependency, so you can use whichever you have installed.
Attributes
The name of the dataframe to be displayed in the UI.
Determines how the dataframe element should be displayed in the UI. Choices are
“side”, “inline”, or “page”.
A pandas or polars DataFrame instance.
Polars support added in version 2.11.0.