Skip to main content

Python DataFrames as interactive DataTables

Project description

ITables logo

CI codecov.io MIT License Pypi Conda Version pyversions PyPI - Types Code style: black Jupyter Widget Dash Component Streamlit App

This package changes how Pandas and Polars DataFrames are rendered in Python notebooks and applications. With itables you can display your tables as interactive DataTables that you can sort, paginate, scroll or filter.

ITables is just about how tables are displayed. You can turn it on and off in just two lines, with no other impact on your data workflow.

Since v2.6.0, ITables has no dependencies. It works out of the box with Pandas or Polars in Jupyter, Dash, Streamlit, Shiny, Panel or Marimo—you only need these packages installed. The Jupyter Widget is the sole exception, requiring anywidget. With Narwhals installed, ITables can also display DataFrames from other libraries like cuDF, Modin or PyArrow.

Documentation

Browse the documentation to see examples of Pandas or Polars DataFrames rendered as interactive DataTables.

Quick start

Install the itables package with either

pip install itables

or

conda install itables -c conda-forge

Activate the interactive mode for all series and dataframes in Jupyter with

import itables

itables.init_notebook_mode()

and then render any DataFrame as an interactive table that you can sort, search and explore: df

If you prefer to render only selected DataFrames as interactive tables, call itables.init_notebook_mode(all_interactive=False), then use itables.show to show just one Series or DataFrame as an interactive table: show

ITables in Notebooks

ITables works in all the usual Jupyter Notebook environments, including Jupyter Notebook, Jupyter Lab, Jupyter nbconvert (i.e. the tables are still interactive in the HTML export of a notebook), Jupyter Book, Google Colab and Kaggle.

You can also use ITables in Quarto HTML documents, and in RISE presentations.

ITables works well in VS Code, both in Jupyter Notebooks and in interactive Python sessions.

ITables in Python applications

ITables is also available as

Licence

ITables is developed by Marc Wouts on GitHub, under an MIT license.

ITables is a wrapper for datatables.net which is developed by Allan Jardine (sponsor him!), also under an MIT license.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

itables-2.8.1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

itables-2.8.1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file itables-2.8.1.tar.gz.

File metadata

  • Download URL: itables-2.8.1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for itables-2.8.1.tar.gz
Algorithm Hash digest
SHA256 562c7d716d667f3faf87ffe1044a19747a3b231ee6aa7725eb6f908caa18c429
MD5 1c753e4d5289281eb5e17f63e88dc902
BLAKE2b-256 b40de4a935862ee77e06062c6b797357c7aaf9d4ba9a32d6eb129018d0d19be4

See more details on using hashes here.

Provenance

The following attestation bundles were made for itables-2.8.1.tar.gz:

Publisher: publish.yml on mwouts/itables

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itables-2.8.1-py3-none-any.whl.

File metadata

  • Download URL: itables-2.8.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for itables-2.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 262e3908771af90634546fe4a5ed63e0d442a6957efbcdcd2ae5cad4845b76e3
MD5 c1a0dbbcfd34e2d7111f8ef6ba84f0a7
BLAKE2b-256 ad22eb6ae7468ba673fcb891ff3142e13ffa18f6a43183e6dd8f224b2b4321d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for itables-2.8.1-py3-none-any.whl:

Publisher: publish.yml on mwouts/itables

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page