New component: ITable for Dash - Pandas and Polars DataFrame as Interactive DataTables (using datatables.net, MIT license)

Hi, I am Marc, the author of ITables, a Python wrapper for the excellent datatables.net Javascript library.

ITables renders your Pandas or Polars DataFrame as interactive tables that you can sort, search, paginate, select, export to CSV or Excel, all for free. Both ITables and datatables.net are available under a MIT license.

When I started working on ITables six years ago, I wanted to be able to use it everywhere, e.g. in Jupyter obviously, but also in my Python applications. It took me a long time, but we are finally getting there! Now ITables works in Jupyter, in Google Colab, in VS Code, in Shiny and in Streamlit applications, and since v2.3.0, in Dash apps too!

Displaying a dataframe in a Dash application as simple as adding ITable(id="my_dataframe", df=df, caption="A DataFrame displayed with ITables") to your Dash layout. You can also get (or set) the selected rows, or even update the dataframe - see the documentation.

Enjoy! And when you realize how powerful datatables.net is, why don’t you sponsor Allan, its author? For me no sponsorship, but I await your bug reports and stars at GitHub - mwouts/itables: Pandas DataFrames as Interactive DataTables !

itables_in_dash

3 Likes

Wow, that looks good, will give it a try !

1 Like

Thanks! Looking forward to your feedback :folded_hands:

Thank you for creating this component, Marc. I just added it to the community components index.

1 Like