pypi great-tables 0.21.0
v0.21.0: add `cols_merge()`, `cols_label_with()`, `opt_css()`

9 hours ago

Deprecations

  • The opt_all_caps() method now uses loc.column_labels, loc.stub, and loc.row_groups as arguments to locations=; using strings to represent the locations still works but triggers a deprecation warning (#436)

Features

  • Added the cols_merge() method for combining cell contents across two or more columns by @rich-iannone in #780
  • Added the cols_label_with() method for function-based column relabeling by @machow in #816
  • Added the fmt_engineering() method by @rich-iannone in #786
  • The new opt_css() method lets you define arbitrary CSS rules for an HTML table by @rich-iannone in #775
  • Added the ability to define container padding in tab_options() by @thriller08 in #802

Fixes

  • Refactored internal auto-align code for compatibility with Pandas 3.0.0 by @machow in #810
  • Added int to the RowSelectExpr definition by @tylerriccio33 in #800
  • Updated the Polars selector type annotation to use Selector by @schmidma in #770
  • Annotated the pipe method's first argument type as GT by @FBruzzesi in #757
  • We now correctly handle the interactive_data_values= properly in Nanoplots by @lorenzo-w in #792
  • Group labels are now modified when render_formats() is called by @juleswg23 in #769
  • The opt_all_caps() method has been refactored by @jrycw in #436

Docs

  • Docs for the val_fmt_engineering() were added to the project website docs by @jrycw in #808
  • Corrected the fns= parameter docs in the fmt() method by @rich-iannone in #818
  • Improved the docs for the from_column() function by @jrycw in #766
  • Added a gt-extras example to the project website's Examples page by @juleswg23 in #759
  • Added an example demonstrating usage of the define_units() function by @jrycw in #446

Chores

New Contributors

Full Changelog: v0.20.0...v0.21.0

Don't miss a new great-tables release

NewReleases is sending notifications on new releases.