This packages changes how Pandas and Polars DataFrames are rendered in Jupyter Notebooks.
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.
The itables package only depends on numpy, pandas and IPython
which you must already have if you work with Pandas in Jupyter (add polars, pyarrow if you
work with Polars DataFrames).
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 with
import itables
itables.init_notebook_mode()
and then render any DataFrame as an interactive table that you can sort, search and explore:
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:
Since ITables v1.0, the jQuery and DataTables libraries and CSS
are injected in the notebook when you execute init_notebook_mode with its default argument connected=False.
Thanks to this the interactive tables will work even without a connection to the internet.
If you prefer to load the libraries dynamically (and keep the notebook lighter), use connected=True when you
execute init_notebook_mode.
Supported notebook environments
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
Last but not least, ITables is also available as
- a Jupyter Widget
- a Dash component
- a Streamlit component,
- and it also works in Shiny applications.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file itables-2.3.0.tar.gz.
File metadata
- Download URL: itables-2.3.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce570e3f888e7baf5e9cb0416a2e1c981c09c49e81d2fb80e8bc574b169c250b
|
|
| MD5 |
580fcda672fa7202326cf833494638b9
|
|
| BLAKE2b-256 |
84e4627d9c41d07a7117a2147e44c96e6bdc579c31d6889d3adb5630fbd189fa
|
Provenance
The following attestation bundles were made for itables-2.3.0.tar.gz:
Publisher:
publish.yml on mwouts/itables
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
itables-2.3.0.tar.gz -
Subject digest:
ce570e3f888e7baf5e9cb0416a2e1c981c09c49e81d2fb80e8bc574b169c250b - Sigstore transparency entry: 192727740
- Sigstore integration time:
-
Permalink:
mwouts/itables@6f3180242997ecb570c4ea2593ac955ec3b7e189 -
Branch / Tag:
refs/tags/v2.3.0c - Owner: https://github.com/mwouts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f3180242997ecb570c4ea2593ac955ec3b7e189 -
Trigger Event:
push
-
Statement type:
File details
Details for the file itables-2.3.0-py3-none-any.whl.
File metadata
- Download URL: itables-2.3.0-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d78a38d04c13d30437a0544c16b572d2f38f5e480810f3964c4f32e558b7ee3
|
|
| MD5 |
f9ca76d00a4c6de5e0bb2651698acd3c
|
|
| BLAKE2b-256 |
e5c7ae4ddcae20b2a7cfafa40c737d0d003c94804b68f3c168653deb468427e7
|
Provenance
The following attestation bundles were made for itables-2.3.0-py3-none-any.whl:
Publisher:
publish.yml on mwouts/itables
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
itables-2.3.0-py3-none-any.whl -
Subject digest:
1d78a38d04c13d30437a0544c16b572d2f38f5e480810f3964c4f32e558b7ee3 - Sigstore transparency entry: 192727741
- Sigstore integration time:
-
Permalink:
mwouts/itables@6f3180242997ecb570c4ea2593ac955ec3b7e189 -
Branch / Tag:
refs/tags/v2.3.0c - Owner: https://github.com/mwouts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f3180242997ecb570c4ea2593ac955ec3b7e189 -
Trigger Event:
push
-
Statement type: