Releases: mwouts/itables
Releases · mwouts/itables
Version 1.4.0
Fixed
- We have improved the support for dark themes by using the CSS from datatables.net in version 1.13.1 (#103)
- We have fixed a compatibility issue with old versions of pandas
- We have added a test to make sure that timezones are preserved
requests
was added as a build dependency (#123)- and the
flake8
pre-commit hook was fixed (#124) - thanks
to Anselm Hahn for these two contributions! - Duplicated column and index names are supported (#134)
Added
- The examples in the documentation are now executed as part of the test suite to increase the coverage.
- We have added a new
caption
argument to theshow
function to make it easier to add captions on tables.
Changed
- We have changed the default table to
style = "table-layout:auto;width:auto;margin:auto"
to fix an issue on the width of index columns (defaultstyle
waswidth:auto
previously) (#130) - The default classes applied to datatables are now
["display", "nowrap"]
- We have changed the default order to
order = []
i.e. we don't sort anymore the table, even when the index is monotonic, to fix an issue in the order of categories (#135) - We have set an explicit
maxRows = 0
and also increasedmaxColumns
to200
(instead of Pandas' default at 20).
Version 1.3.5
Fixed
- We use
pandas.io.formats.format.format_array
to format non-trivial dtypes (as initables<=1.3.1
) (#112) - The downsampling of large tables is faster. We have also added a new function
generate_random_df
to generate large tables on demand (#113) - We don't raise a warning anymore when a table is downsampled. Instead, we add this information to the table summary (#114)
Added
- We have added support for Python 2 (#115).
Version 1.3.4
Fixed
- We have removed
scrollX = True
which was causing issues with non-wide tables (#110). Instead, we now usestyle = "width:auto"
.
Version 1.3.3
Changed
- We have added
scrollX = True
to the default options to make the rendering of wide tables more similar to Pandas.
Version 1.3.2
Fixed
- We have reimplemented the function that encodes the Pandas dataframes to JSON
to avoid triggering FutureWarnings when usingpandas>=1.5
(#107).
Version 1.3.1
1.3.1 (2022-11-05)
Added
- The
show
method has a newcss
argument (defaults toitables.options.css
) (#104).
Version 1.3.0
Version 1.2.0
Version 1.1.3
Fixed
- Tables with duplicated column names are now supported, thanks to Antonio Commisso's fix (#89)
Version 1.1.2
Changed
- Tables with many rows are preferentially downsampled on rows, while tables with many columns are preferentially downsampled on columns (#84)