github posit-dev/great-tables v0.19.0

10 hours ago

Fixes

  • Code using the NumPy library was replaced with standard Python to enable the removal of NumPy from the dependencies list, by @tylerriccio33 in #749
  • An error when setting groupname_col= without rowname_col= in the GT constructor has been fixed by @juleswg23 in #756
  • Using row_group_as_column = True now structures row groups as a column in the stub (previously, this was a no-op), by @juleswg23 in #754
  • The data_color() method now takes the alpha value for the cell background color into account when choosing the foreground text color (fixes the internal _ideal_fgnd_color() util function), by @juleswg23 in #747
  • When enabling row striping, there is now better color contrast between the text and the underlying cell background, by @juleswg23 in #745
  • We now internally access column names consistently through get_column_names() instead of .columns, by @FBruzzesi in #736
  • Column values with the pyarrow float64 type are now right-aligned to match the default behavior when using Pandas and Polars DFs, by @FBruzzesi in #734
  • We now avoid the double use of clear internally with Polars DFs, by @FBruzzesi in #729

Docs

Chores

  • Refactoring was done to better adhere to best practices and to improve code performance, by @FBruzzesi in #731

New Contributors

Full Changelog: v0.18.0...v0.19.0

Don't miss a new great-tables release

NewReleases is sending notifications on new releases.