Fixed
- Added missing
column_filters
package data.
Added
itables.options
and theshow
function have a newcolumn_filters
argument to display individual column search boxes (#69)- We have documented DataTables'
dom
option. - We have introduced a new class
JavascriptFunction
to limit the evaluation of Javascript function to selected ones. - The documentation is formatted with
black
thanks to a Jupytext & Black pre-commit hook.
Added
- ITables works offline! (#8, #70). Marc would like to thank Allan Jardine, the author of the datatables library, and François Wouts for their precious help on the subject.
Changed
- ITables uses the ESM version 1.12.1 of datatables.net
Added
- Additional
tags
like e.g. captions are supported (#10).
Changed
- We have removed the default column width at 70 pixels (#61, #62, #66)
- We now use
pyupgrade
in our pre-commit hooks
Fixed
- We have improved the rendering of multiindex columns (#63)
Changed
- The
itables
documentation now uses Jupyter Book (#56) - We have added a new
style
option initables.options
and inshow
, with a default value equal tomax-width:100%
.
Fixed
- Add 'require_config.js' to the pip package (#48)
Changed
- When a JS function is created on the Python side, we export it as-is (without quotes) in the HTML file and don't use JS eval anymore.
Fixed
- Fix the HTML output when
eval_functions=True
- Display "Loading..." under the table header until the table is displayed with datatables.net
init_notebook_mode(all_interactive=False)
restores the original Pandas HTML representation.
Fixed
- Long column names don't overlap anymore (#28)
rFixed
- Now
itables
also works in Jupyter Lab, Colab, VS Code and PyCharm (#3, #4, #26, #40), as we load thedatatables.net
library with an ES import whenrequire.js
is not available. Many thanks to François Wouts for his precious help!
Changed
- The
show
function (anditables.options
) has a new argumenteval_functions
. When set toTrue
, the nested strings passed todatatables.net
that start withfunction
are converted to Javascript functions. - The HTML code for the datatables.net representation of the table is generated with an HTML template.
- We use f-strings and thus require Python >= 3.6
Fixed
- We fixed an issue (
jquery
not found) with the HTML export when usingnbconvert>=6.0
(#21) - We documented how to change the default ordering of rows - with the
order
option (#30) - We documented how to load
require
in Jupyter Lab (#3)
Changed
- The main branch for the project is
main
rather thanmaster
- Updated
datatables
to 1.11.3 andjquery
to 3.5.1
Fixed
itables
now has an explicitinit_notebook_mode
function, which inserts the datatables.net library in the notebook. Useinit_notebook_mode(all_interactive=True)
to display all the pandas object as interactive tables. This fixes (#6) and (#17).
Changed
itables
uses GitHub Actions for the CI.
Added
itables
is tested with Python 3.9 as well.
Fixed
- Pandas'
display.max_columns
can beNone
, by Arthur Deygin (#14)
Added
- Animated screenshot in README
Fixed
- Add IPython to setup.py install_requires, by Jon Shao (#9)
Added
- Large tables are downsampled (#2)
Changed
- Javascript code moved to Javascript files
Fixed
- Tables with many columns are now well rendered (#5)
Initial release