Great-tables

Latest version: v0.14.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.14.0

Features

* Experiment support for LaTeX-table rendering with new `.as_latex()` method (see important information on current limitations in API reference at https://posit-dev.github.io/great-tables/reference/GT.as_latex.html) by rich-iannone in https://github.com/posit-dev/great-tables/pull/481

Docs

* The Reference API docs now have an improved presentation when viewed on lower-width devices by machow (https://github.com/posit-dev/great-tables/pull/427, https://github.com/posit-dev/great-tables/pull/492)
* Preview sections have been added for the built-in datasets by jrycw in https://github.com/posit-dev/great-tables/pull/453

**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.13.0...v0.14.0

0.13.0

Features

* Include `google_font()` helper fn in API reference by rich-iannone and jrycw in (464, 471)
* Allow for granular section restyling via convenience api by timkpaine in https://github.com/posit-dev/great-tables/pull/341
* Add `val_fmt_image()` to enable image rendering in various components by jrycw in https://github.com/posit-dev/great-tables/pull/451
* Allow passing a webdriver instance to save by machow in https://github.com/posit-dev/great-tables/pull/478

Fixes

* Resolve global `locale` not being respected in `GT.fmt_*()` functions by jrycw in https://github.com/posit-dev/great-tables/pull/473

Docs

* Do not document GT members inline on its reference page by machow in https://github.com/posit-dev/great-tables/pull/475
* Fix deprecated warning for `pl.DataFrame.pivot()` by jrycw in https://github.com/posit-dev/great-tables/pull/472
* Update docs and code to support `GoogleFont` in `opt_table_font()` and add tests by jrycw in https://github.com/posit-dev/great-tables/pull/470
* Fix in headers causing their css classes get printed out by machow in https://github.com/posit-dev/great-tables/pull/477
* Add docstrings for new location methods by rich-iannone in https://github.com/posit-dev/great-tables/pull/474






**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.12.0...v0.13.0

0.12.0

Breaking changes
* `opt_stylize()` now produces stripes by default. Set `add_row_striping=False` to remove. (461)
* `opt_stylize()` now adds borders to certain styles (which was the original intention; 463)


Features

* add `google_font()` helper, implement in `opt_table_font()` and `style.text()` by rich-iannone in https://github.com/posit-dev/great-tables/pull/423
* implement row striping options by rich-iannone (461, 463)

Fixes

* use full html page in `show()` for correct utf-8 display by machow in https://github.com/posit-dev/great-tables/pull/458


Docs

* update `superbowl` example to align with the new version of `Polars` by jrycw (460, 462)

**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.11.1...v0.12.0

0.11.1

Fixes

* Do not error when URL string supplied to `path=` argument in `fmt_image()` by jrycw in https://github.com/posit-dev/great-tables/pull/444
* Include an `encoding=` arg in `GT.save()` (with default `"utf-8"`) for more dependable saving in Windows by jrycw in https://github.com/posit-dev/great-tables/pull/454
* Unify the method signatures of `cols_label()` and `cols_width()` by having them both accept `cases=` and `**kwargs` by jrycw in https://github.com/posit-dev/great-tables/pull/452

Chores

* Standardize on the `GTSelf` object in method signatures by jrycw in https://github.com/posit-dev/great-tables/pull/431
* Consistently use `isinstance()` checks throughout the codebase instead of checking with `hasattr()` by rich-iannone in https://github.com/posit-dev/great-tables/pull/434
* Improve test coverage for various `opt_*` methods by jrycw in https://github.com/posit-dev/great-tables/pull/437
* Consolidate ordered list code using the new `_create_ordered_list()` function by jrycw in https://github.com/posit-dev/great-tables/pull/407
* Internally use `OrderedSet().as_list()` instead of `list(OrderedSet())` for sake of clarity by jrycw in https://github.com/posit-dev/great-tables/pull/447
* Refactor import statements throughout the `_formats.py` file by jrycw in https://github.com/posit-dev/great-tables/pull/450

Docs

* Update import statement in the `GT.data_color()` example by jrycw in https://github.com/posit-dev/great-tables/pull/432
* Indicate that `tab_spanner()` allows for use of units notation in its `label=` argument by rich-iannone in https://github.com/posit-dev/great-tables/pull/426
* Visually document options for theming table with `opt_stylize()` by rich-iannone in https://github.com/posit-dev/great-tables/pull/438
* Provide updates to PyCon- and SciPy-related blog posts by rich-iannone in https://github.com/posit-dev/great-tables/pull/445

**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.11.0...v0.11.1

0.11.0

This release contains a breaking change in how HTML output tables are structured (through tag changes). There is also an important fix for saving tables via the `.save()` method using the Google Chrome webdriver.

Breaking Changes

* We now ensure that the `<thead>` element encloses both title/subtitle and column labels by rich-iannone in https://github.com/posit-dev/great-tables/pull/421

Fixes

* We now ensure that the `<thead>` element encloses both title/subtitle and column labels by rich-iannone in https://github.com/posit-dev/great-tables/pull/421
* The `.save` method works with latest version of Google Chrome by machow in https://github.com/posit-dev/great-tables/pull/425

Docs

* Mention support for `Polars` in the `get-started` section by jrycw in https://github.com/posit-dev/great-tables/pull/408
* Made tiny typo fixes and improved a code example in the "Design Philosophy" doc by alfredocarella in https://github.com/posit-dev/great-tables/pull/401
* Fix typo in blog post by rich-iannone in https://github.com/posit-dev/great-tables/pull/396
* Update documentation for datasets by jrycw in https://github.com/posit-dev/great-tables/pull/397
* Update polars examples for deprecated arg by atseewal in https://github.com/posit-dev/great-tables/pull/400
* Remove mentions of `accounting` in `force_sign=` argument by rich-iannone in https://github.com/posit-dev/great-tables/pull/422

New Contributors
* alfredocarella made their first contribution in https://github.com/posit-dev/great-tables/pull/401

**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.10.0...v0.11.0

0.10.0

Features

* Add ability to express units in `.cols_label()` by rich-iannone in https://github.com/posit-dev/great-tables/pull/380
* Allow spanners to use units notation in `.tab_spanner()` by rich-iannone in https://github.com/posit-dev/great-tables/pull/393
* The `.opt_table_font()` method has been added to make it easy to set a default table font; by rich-iannone in https://github.com/posit-dev/great-tables/pull/272
* Add the `.show()` method by machow in https://github.com/posit-dev/great-tables/pull/379
* Several new datasets were added (bringing total number up to 16) by rich-iannone in https://github.com/posit-dev/great-tables/pull/382

Fixes

* fix `.fmt_percent()` issue with polars-u64-idx by lostmygithubaccount in https://github.com/posit-dev/great-tables/pull/388
* Add render target for HTML pages by isabelizimm in https://github.com/posit-dev/great-tables/pull/377
* `.show()` no longer raises or prints to stderr by machow in https://github.com/posit-dev/great-tables/pull/384

Docs

* Add absolute URLs to README to improve PyPI summary by rich-iannone in https://github.com/posit-dev/great-tables/pull/373

New Contributors
* isabelizimm made their first contribution in https://github.com/posit-dev/great-tables/pull/377
* lostmygithubaccount made their first contribution in https://github.com/posit-dev/great-tables/pull/388

**Full Changelog**: https://github.com/posit-dev/great-tables/compare/v0.9.0...v0.10.0

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.