Skip to content

Releases: mwouts/itables

Version 1.4.0

04 Dec 18:34
Compare
Choose a tag to compare

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 the show 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 (default style was width: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 increased maxColumns to 200 (instead of Pandas' default at 20).

Version 1.3.5

12 Nov 12:35
Compare
Choose a tag to compare

Fixed

  • We use pandas.io.formats.format.format_array to format non-trivial dtypes (as in itables<=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

07 Nov 23:30
c32000c
Compare
Choose a tag to compare

Fixed

  • We have removed scrollX = True which was causing issues with non-wide tables (#110). Instead, we now use style = "width:auto".

Version 1.3.3

06 Nov 13:38
24e5916
Compare
Choose a tag to compare

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

06 Nov 01:18
5da57bc
Compare
Choose a tag to compare

Fixed

  • We have reimplemented the function that encodes the Pandas dataframes to JSON
    to avoid triggering FutureWarnings when using pandas>=1.5 (#107).

Version 1.3.1

05 Nov 19:53
f2fd659
Compare
Choose a tag to compare

1.3.1 (2022-11-05)

Added

  • The show method has a new css argument (defaults to itables.options.css) (#104).

Version 1.3.0

03 Sep 23:03
ca39cb4
Compare
Choose a tag to compare

Changed

  • The order of rows is preserved by default (unless you explicitly pass an order parameter) (#99).

Fixed

  • Nullable types (bool, int) are now supported (#98)

Version 1.2.0

14 Aug 22:25
ffed002
Compare
Choose a tag to compare

Added

  • New to_html_datatable function to export a DataFrame to an HTML div (#88)
  • We have added examples on how to use itables in Shiny for Python (#86)

Version 1.1.3

11 Aug 07:32
da79229
Compare
Choose a tag to compare

Fixed

  • Tables with duplicated column names are now supported, thanks to Antonio Commisso's fix (#89)

Version 1.1.2

02 Jul 21:16
ec388a7
Compare
Choose a tag to compare

Changed

  • Tables with many rows are preferentially downsampled on rows, while tables with many columns are preferentially downsampled on columns (#84)