This release is a pre-release and may not be stable for production use.
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
from itables import init_notebook_mode
init_notebook_mode(all_interactive=True)
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, use itables.show to show just one Series or DataFrame as an interactive table:
Since itables==1.0.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 environments
itables has been tested in the following editors:
- Jupyter Notebook
- Jupyter Lab
- Jupyter nbconvert (i.e. the tables are still interactive in the HTML export of a notebook)
- Jupyter Book
- Google Colab
- VS Code (for both Jupyter Notebooks and Python scripts)
- PyCharm (for Jupyter Notebooks)
- Quarto
- Shiny for Python
Metadata
Release files for itables 2.1.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| itables-2.1.0rc2.tar.gz | 2.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itables-2.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 MB
Release files / itables-2.1.0rc2.tar.gz
| Download URL | itables-2.1.0rc2.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd03dc20bd24b64905928e51ff23b4e745f8544e991f89f4f4ca5a9dc34db164
|
|
BLAKE2b-256 checksum How to use checksums |
5ebe6c9d22bbf4ba3e38361cea2ed057f009fdfede7a1de408f4665fab78997b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / itables-2.1.0rc2-py3-none-any.whl
| Download URL | itables-2.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
811e11da93f0c46e32d3f6eecd5ca67c57312acc633073b56bc81422063dd7a5
|
|
BLAKE2b-256 checksum How to use checksums |
ce1dd72d8d75e36a9bb5fe73761efd6226e17611cbfb9b8417c9c0515264a70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|