Recent Releases of great-tables
great-tables - v0.18.0
What's Changed
Features
- The new
tab_spanner_delim()method allows for quick creation of spanners through delimited column names, by @machow in https://github.com/posit-dev/great-tables/pull/647 - Added the
cols_label_rotate()method for rotating column label text 90 degrees, by @juleswg23 in https://github.com/posit-dev/great-tables/pull/696 - We can now easily format boolean values with the new
fmt_tf()formatting method, by @rich-iannone (https://github.com/posit-dev/great-tables/pull/665, https://github.com/posit-dev/great-tables/pull/704) - The
fmt_datetime()method now lets you perform custom datetime formatting with the newformat_str=parameter, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/645 - GT tables can now be pickled, by @jrycw in https://github.com/posit-dev/great-tables/pull/641
- The
fmt_currency()method gained acompact=parameter for display of compact currency values (e.g.,$13.4M), by @rich-iannone in https://github.com/posit-dev/great-tables/pull/664 - Added the
truncate=option todata_color()by @mahdibaghbanzadeh in https://github.com/posit-dev/great-tables/pull/673 - The Pandas dependency in
vals.fmt_integer()was removed by @machow in https://github.com/posit-dev/great-tables/pull/719
Fixes
- Remove unused
sep_mark=parameter from thefmt_scientific()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/642 - Fixed an off-by-one bug in the
rescale_factor()utility function (which had an adverse effect ondata_color()), by @juleswg23 in https://github.com/posit-dev/great-tables/pull/718 - When using Google Fonts in an HTML table there will no longer be any duplicated font import statements, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/708
- An issue with row striping (due to incorrect indexing) was resolved by @juleswg23 in https://github.com/posit-dev/great-tables/pull/701
- Spanners can now be correctly styled with
tab_style(), by @ChristopherRussell in https://github.com/posit-dev/great-tables/pull/695
Docs
- Added note about using
.show("browser")when in VS Code by @rich-iannone in https://github.com/posit-dev/great-tables/pull/643 - A warning message from
cols_width()that appeared in the docs is now suppressed, by @jrycw in https://github.com/posit-dev/great-tables/pull/659 - Updated docstrings for date/time formatting methods, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/658
- We now use improved the interlinking functionality available in quartodoc, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/697
- In the documentation site, added an underline to active link in top navigation bar by @rich-iannone in https://github.com/posit-dev/great-tables/pull/706
- Improved the documentation for the
as_raw_html()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/707 - We now better introduce the use of
show()method in the docs through a callout, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/712
Chores
- Added a
no pandasdependency test of functions in thevalsmodule by @machow in https://github.com/posit-dev/great-tables/pull/689
New Contributors
- @dpprdan made their first contribution in https://github.com/posit-dev/great-tables/pull/670
- @juleswg23 made their first contribution in https://github.com/posit-dev/great-tables/pull/696
- @ChristopherRussell made their first contribution in https://github.com/posit-dev/great-tables/pull/695
- @mahdibaghbanzadeh made their first contribution in https://github.com/posit-dev/great-tables/pull/673
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.17.0...v0.18.0
- Python
Published by rich-iannone 11 months ago
great-tables - v0.17.0: unique html IDs, `css-inline` package optional
Breaking changes
- Ensure HTML ID attributes are unique by @BenGale93 in https://github.com/posit-dev/great-tables/pull/607
- Move
css-inlinepkg to extra group by @rich-iannone in https://github.com/posit-dev/great-tables/pull/634
Features
- Quarto option to disable table processing, warn on render by @machow in https://github.com/posit-dev/great-tables/pull/611
- Add
cols_unhide()method by @jrycw in https://github.com/posit-dev/great-tables/pull/629 - Add
inline_css=argument by @tylerriccio33 in https://github.com/posit-dev/great-tables/pull/633
Fixes
- Ensure HTML ID attributes are unique by @BenGale93 in https://github.com/posit-dev/great-tables/pull/607
- Move
css-inlinepkg to extra group by @rich-iannone in https://github.com/posit-dev/great-tables/pull/634 - Do not always save screenshot as png by @machow in https://github.com/posit-dev/great-tables/pull/599
- Resolve encoding issue in
GT.save()by @jrycw in https://github.com/posit-dev/great-tables/pull/609 - Correctly pass non-ints to nanoplot options by @tylerriccio33 in https://github.com/posit-dev/great-tables/pull/608
- Scientific notation zero padding when
exp_style=used by @rich-iannone in https://github.com/posit-dev/great-tables/pull/622- e.g. numbers like
"2.3E-03"were incorrectly displayed as"2.3Eā30".
- e.g. numbers like
- Update conditional statement in nanoplot code to guard against string values (single string or list containing any strings) by @rich-iannone in https://github.com/posit-dev/great-tables/pull/623
Docs
- Update the related docs about
mask=parameter inloc.body()by @jrycw in https://github.com/posit-dev/great-tables/pull/589 - Update the preview of
yearcol ingtcarsdataset by @jrycw in https://github.com/posit-dev/great-tables/pull/587 - Add examples to the documentation by @jrycw in https://github.com/posit-dev/great-tables/pull/618
- Add
style.cssentry to API reference docs by @rich-iannone in https://github.com/posit-dev/great-tables/pull/624 - Align getting started guide with readme by @zachvalenta in https://github.com/posit-dev/great-tables/pull/627
Chores
- Use deploy-pypi environment by @machow in https://github.com/posit-dev/great-tables/pull/590
- Added a environment deployment protection rule. We now have to review the release workflow.
New Contributors
- @tylerriccio33 made their first contribution in https://github.com/posit-dev/great-tables/pull/608
- @BenGale93 made their first contribution in https://github.com/posit-dev/great-tables/pull/607
- @zachvalenta made their first contribution in https://github.com/posit-dev/great-tables/pull/627
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.16.1...v0.17.0
- Python
Published by machow over 1 year ago
great-tables - v0.16.1
Fixes
- Update dtype of
yearcol ingtcarsdataset by @rich-iannone in https://github.com/posit-dev/great-tables/pull/586
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.16.0...v0.16.1
- Python
Published by rich-iannone over 1 year ago
great-tables - v0.16.0
Features
- Add the
mask=argument toLocBodyto enable enhanced body cell targeting by @jrycw in https://github.com/posit-dev/great-tables/pull/566 - Include
write_raw_html()as a helper function for easier HTML output by @jrycw in https://github.com/posit-dev/great-tables/pull/485
Fixes
- Fix the deprecation warning in
as_raw_html()for Python 3.13 by @stinodego in https://github.com/posit-dev/great-tables/pull/563 - Support the
pl.UInttype in nanoplots by @jrycw in https://github.com/posit-dev/great-tables/pull/577
Docs
- Add pyOpenSci and DOI badges to
README.mdto acknowledge the successful peer-review of the package by @rich-iannone in https://github.com/posit-dev/great-tables/pull/576 - Update images and text around included datasets in the package by @rich-iannone in https://github.com/posit-dev/great-tables/pull/562
- Replace JSON dataset with .ndjson file in coffee sales examples to sidestep a serialization error by @rich-iannone in https://github.com/posit-dev/great-tables/pull/580
New Contributors
- @stinodego made their first contribution in https://github.com/posit-dev/great-tables/pull/563
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.15.0...v0.16.0
- Python
Published by rich-iannone over 1 year ago
great-tables - v0.15.0: add Experimental support for using a `pyarrow.Table` as input
Features
- There is now experimental support for using a
pyarrow.Tableas input by @amol- in https://github.com/posit-dev/great-tables/pull/487 - The
fmt_flag()method has been added so that you can display flag icons based on country codes by @rich-iannone in https://github.com/posit-dev/great-tables/pull/523 - With the new
fmt_icon()method, it's possible to have FontAwesome icons within table cells by @rich-iannone in https://github.com/posit-dev/great-tables/pull/515 - The
fmt_number(),fmt_percent(),fmt_integer()andfmt_currency()methods can now format values in accounting notation by @rich-iannone in https://github.com/posit-dev/great-tables/pull/513 - Tables can be written as CSS-inlined HTML strings via
as_raw_html()with the newinline_css=argument by @rich-iannone in https://github.com/posit-dev/great-tables/pull/557 - The
save()method has been greatly enhanced and includes the ability to perform intermediate saves (since the method returns itself) by @jrycw in https://github.com/posit-dev/great-tables/pull/499 - Enhance the
fmt_image()method to supporthttp/httpsschema in thecolumns=parameter by @jrycw in https://github.com/posit-dev/great-tables/pull/520 - The
pipe()method has been added and it operates similarly to that of the Pandas and Polars APIs, by @jrycw in https://github.com/posit-dev/great-tables/pull/363
Fixes
- Improve detection of Polars installation by @lukemanley in https://github.com/posit-dev/great-tables/pull/505
- Add CI build for testing Python 3.13 by @glemaitre in https://github.com/posit-dev/great-tables/pull/514
- Having hidden columns along with column width definitions no longer mangles HTML table output by @rich-iannone in https://github.com/posit-dev/great-tables/pull/509
- Some
mypyerrors were fixed and the project was switched to ruff linting and formatting by @jrycw in https://github.com/posit-dev/great-tables/pull/511 - The CI README badge now properly reports build status by @rich-iannone in https://github.com/posit-dev/great-tables/pull/553
- Fix missing exception raise in
_val_is_numeric()and_val_is_str()by @jrycw in https://github.com/posit-dev/great-tables/pull/510 - Standardize imports by converting absolute imports to relative imports by @jrycw in https://github.com/posit-dev/great-tables/pull/521
- Exclude
if TYPE_CHECKING:lines from coverage reports by @rich-iannone in https://github.com/posit-dev/great-tables/pull/556
Docs
- Include the
vals.fmt_image()function in the API reference by @jrycw in https://github.com/posit-dev/great-tables/pull/486 - Make spelling fixes in the contributing guide by @glemaitre in https://github.com/posit-dev/great-tables/pull/516
- Add information about Pandas requirement when using internal datasets by @rich-iannone (https://github.com/posit-dev/great-tables/pull/549, https://github.com/posit-dev/great-tables/pull/559)
- Add a
CITATION.cfffile and provide citation information in README by @rich-iannone in https://github.com/posit-dev/great-tables/pull/551 - Update README with conda install instructions and some clarity on which environments Great Tables can be used in, by @rich-iannone in https://github.com/posit-dev/great-tables/pull/552
- Improve presentation of Contributing Guidelines by @rich-iannone in https://github.com/posit-dev/great-tables/pull/550
New Contributors
- @lukemanley made their first contribution in https://github.com/posit-dev/great-tables/pull/505
- @glemaitre made their first contribution in https://github.com/posit-dev/great-tables/pull/514
- @amol- made their first contribution in https://github.com/posit-dev/great-tables/pull/487
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.14.0...v0.15.0
- Python
Published by rich-iannone over 1 year ago
great-tables - v0.14.0: add experimental support for LaTeX output
Features
- Experimental 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
- Python
Published by rich-iannone over 1 year ago
great-tables - v0.13.0: add more location specifiers to `loc`
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
localenot being respected inGT.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
GoogleFontinopt_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
- Python
Published by machow over 1 year ago
great-tables - v0.12.0: opt_stylize produces striped rows and borders
Breaking changes
opt_stylize()now produces stripes by default. Setadd_row_striping=Falseto remove. (#461)opt_stylize()now adds borders to certain styles (which was the original intention; #463)
Features
- add
google_font()helper, implement inopt_table_font()andstyle.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
superbowlexample to align with the new version ofPolarsby @jrycw (#460, #462)
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.11.1...v0.12.0
- Python
Published by machow over 1 year ago
great-tables - v0.11.1
Fixes
- Do not error when URL string supplied to
path=argument infmt_image()by @jrycw in https://github.com/posit-dev/great-tables/pull/444 - Include an
encoding=arg inGT.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()andcols_width()by having them both acceptcases=and**kwargsby @jrycw in https://github.com/posit-dev/great-tables/pull/452
Chores
- Standardize on the
GTSelfobject 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 withhasattr()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 oflist(OrderedSet())for sake of clarity by @jrycw in https://github.com/posit-dev/great-tables/pull/447 - Refactor import statements throughout the
_formats.pyfile 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 itslabel=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
- Python
Published by rich-iannone over 1 year ago
great-tables - v0.11.0: include column labels in`<thead>` element
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
.savemethod works with latest version of Google Chrome by @machow in https://github.com/posit-dev/great-tables/pull/425
Docs
- Mention support for
Polarsin theget-startedsection 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
accountinginforce_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
- Python
Published by rich-iannone almost 2 years ago
great-tables - v0.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
- Python
Published by rich-iannone almost 2 years ago
great-tables - v0.9.0: breaking change, add rows parameter to data_color()
Features
- feat!: support specifying a subset of rows in
GT.data_color()by @jrycw in https://github.com/posit-dev/great-tables/pull/364- Note that
rows=is now the third argument, which may break earlier code.
- Note that
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.8.0...v0.9.0
- Python
Published by machow about 2 years ago
great-tables - v0.8.0
Features
- add method equivalents of constructor options by @machow in https://github.com/posit-dev/great-tables/pull/371
GT.tab_stub(rowname_col=, groupname_col=)GT.with_local()GT.with_id()
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.7.0...v0.8.0
- Python
Published by machow about 2 years ago
great-tables - v0.7.0
What's Changed
Features
- Add the
.fmt_units()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/240 - Support Polars' non-strict
expand_selector()by @machow in https://github.com/posit-dev/great-tables/pull/368
Fixes
- General enhancements to several
.cols_*()methods by @jrycw in https://github.com/posit-dev/great-tables/pull/366 - Generate better error message for list data used in
.fmt_nanoplot()by @marcozzxx810 in https://github.com/posit-dev/great-tables/pull/356
Docs
- Add RSS feed to blog by @jrycw in https://github.com/posit-dev/great-tables/pull/367
Chores
- Refactor
seq_groups()to acceptIterableby @jrycw in https://github.com/posit-dev/great-tables/pull/365 - Move
pairwise(),seq_groups(), andis_equal()functions to_utils.pyby @jrycw in https://github.com/posit-dev/great-tables/pull/369
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.6.1...v0.7.0
- Python
Published by rich-iannone about 2 years ago
great-tables - v0.6.1
Fixes
- Fix column selections breaking with
Polarsv0.20.28by @jrycw in https://github.com/posit-dev/great-tables/pull/360 - Fix
_save_screenshot()breaking for non-png files by @jrycw in https://github.com/posit-dev/great-tables/pull/352
Chores
- Enhance the test coverage by @jrycw in https://github.com/posit-dev/great-tables/pull/339
- Remove unneeded files by @rich-iannone in https://github.com/posit-dev/great-tables/pull/351
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.6.0...v0.6.1
- Python
Published by machow about 2 years ago
great-tables - v0.6.0
This release brings support for multi-level spanners (a huge thanks to @timkpaine), and makes saving tables with GT.save() a bit more robust.
Features
- Support multi-level spanners by @timkpaine in https://github.com/posit-dev/great-tables/pull/345
Fixes
- ensure export() always captures full table by @machow in https://github.com/posit-dev/great-tables/pull/344
Docs
- add example coffee table with nanoplots by @machow in https://github.com/posit-dev/great-tables/pull/349
- clean up minor formatting issues in the docs by @jrycw in https://github.com/posit-dev/great-tables/pull/338
New Contributors
- @timkpaine made their first contribution in https://github.com/posit-dev/great-tables/pull/345
Full Changelog: https://github.com/posit-dev/great-tables/compare/0.5.2...v0.6.0
- Python
Published by machow about 2 years ago
great-tables - 0.5.2
Fixes
- Fix
CellStyleBordersnot being properly constructed whensidesis set to "all" by @jrycw in https://github.com/posit-dev/great-tables/pull/326 - Fix
GT.fmt_image()erroring on missing values by @machow in https://github.com/posit-dev/great-tables/pull/329 - Nanoplots listcols now work, polars list columns no longer raise error by @machow in https://github.com/posit-dev/great-tables/pull/330
- Nanoplots no longer fail for lists of large integers by @machow in https://github.com/posit-dev/great-tables/pull/335
GT.fmt_number()no longer puts improper comma for 3-digit compact, negative numbers by @machow in https://github.com/posit-dev/great-tables/pull/335
Docs
- Add examples to reference pages by @jrycw in https://github.com/posit-dev/great-tables/pull/328
Chores
- Remove unused library webcolors as required dependency by @marcozzxx810 in https://github.com/posit-dev/great-tables/pull/336
New Contributors
- @marcozzxx810 made their first contribution in https://github.com/posit-dev/great-tables/pull/336
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.5.1...0.5.2
- Python
Published by machow about 2 years ago
great-tables - v0.5.1
Thanks so much to @jrycw for an incredible amount of fixes and improvements! This release doesn't have any new features, instead we focused on fixes and documentation.
Fixes
- Resolve issue with
table_font_color=not accepting named colors by @jrycw in https://github.com/posit-dev/great-tables/pull/285 - Ensure that group label rows have valid HTML by @rich-iannone in https://github.com/posit-dev/great-tables/pull/308
- Fix Polars selectors error in
GT.cols_hide()by @jrycw in https://github.com/posit-dev/great-tables/pull/316 - Fix missing values not working with
GT.fmt_number()by @jrycw in https://github.com/posit-dev/great-tables/pull/317 - Fix display for integerlike values in nanoplots by @jrycw in https://github.com/posit-dev/great-tables/pull/319
Docs
- Fix typos in docs by @jrycw in https://github.com/posit-dev/great-tables/pull/286
- Add example from @chalg by @machow in https://github.com/posit-dev/great-tables/pull/323
Chores
- Clean up implementation of
GT.fmt_nanoplot()andGT.data_color()by @jrycw https://github.com/posit-dev/great-tables/pull/294, https://github.com/posit-dev/great-tables/pull/295 - Refactor
GT.fmt_time(),GT.fmt_date()andGT.fmt_datetime()by @jrycw in https://github.com/posit-dev/great-tables/pull/290 - Refactor
lettersandLettersfunctions in_helpersby @jrycw in https://github.com/posit-dev/great-tables/pull/289 - Update type hints and organize import modules by @jrycw in https://github.com/posit-dev/great-tables/pull/315
- Codebase cleanup and minor improvements by @jrycw in https://github.com/posit-dev/great-tables/pull/305, https://github.com/posit-dev/great-tables/pull/292
- Improve test coverage by @jrycw https://github.com/posit-dev/great-tables/pull/311, https://github.com/posit-dev/great-tables/pull/325
- Add tests for
GT.cols_align()and extend support forPolarsexpressions by @jrycw in https://github.com/posit-dev/great-tables/pull/320
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.5.0...v0.5.1
- Python
Published by rich-iannone about 2 years ago
great-tables - v0.5.0
What's Changed
Features
- Remove mizani and pandas as dependencies by @machow (#271, #261)
- Include choice of webdrivers in the
.save()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/262 - Add submissing and subzero methods by @machow in https://github.com/posit-dev/great-tables/pull/244
Fixes
- Fix error from incorrectly passing nanoplot options to args in
_generate_nanoplot()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/258 - Remove uses of DataFrame.apply and dtype methods by @machow in https://github.com/posit-dev/great-tables/pull/277
- Close some opened files by @machow in https://github.com/posit-dev/great-tables/pull/281
Docs
- Add warning callout for experimental status by @rich-iannone in https://github.com/posit-dev/great-tables/pull/243
- Add examples for
fmt_nanoplot()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/245 - Add docs site and codecov badges by @rich-iannone in https://github.com/posit-dev/great-tables/pull/254
- Rename variables on example code for Oceania by @sergiolaverde0 in https://github.com/posit-dev/great-tables/pull/264
- Improve two examples in Examples section by @rich-iannone in https://github.com/posit-dev/great-tables/pull/267
Chores
- Refactor nanoplots by @machow in https://github.com/posit-dev/great-tables/pull/246
- Add more tests for formatting methods by @rich-iannone in https://github.com/posit-dev/great-tables/pull/260
- ci: workflow pushes to CodeCov by @machow in https://github.com/posit-dev/great-tables/pull/250
- Update list of supported Python versions to match those tested by @discdiver in https://github.com/posit-dev/great-tables/pull/269
New Contributors
- @sergiolaverde0 made their first contribution in https://github.com/posit-dev/great-tables/pull/264
- @discdiver made their first contribution in https://github.com/posit-dev/great-tables/pull/269
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.4.0...v0.5.0
- Python
Published by machow about 2 years ago
great-tables - v0.4.0
What's Changed
Features
- Add initial implementation for nanoplots by @rich-iannone in https://github.com/posit-dev/great-tables/pull/219
- Allow polars selectors in
fmt_*()methods by @machow in https://github.com/posit-dev/great-tables/pull/217
Fixes
- Improve HTML representation of tables by @rich-iannone in https://github.com/posit-dev/great-tables/pull/233
- Ensure that header component HTML tags pass HTML validation by @rich-iannone in https://github.com/posit-dev/great-tables/pull/235
- Allow the 'transparent' color (and others) to be used in
tab_options(table_background_color == <color>)by @rich-iannone in https://github.com/posit-dev/great-tables/pull/242 - Fix render reorder causing incorrect groupings by @machow in https://github.com/posit-dev/great-tables/pull/218
Docs
- Fix
opt_horizontal_padding()example by @rich-iannone in https://github.com/posit-dev/great-tables/pull/215
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.3.1...v0.4.0
- Python
Published by rich-iannone about 2 years ago
great-tables - v0.3.1
What's Changed
Features
- Add the
.save()and.as_raw_html()methods by @rich-iannone in https://github.com/posit-dev/great-tables/pull/208 - Add the
opt_stylize()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/198 - Add the
opt_table_outline()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/209
Fixes
- fix: iterate over sorted rows for rendering by @machow in https://github.com/posit-dev/great-tables/pull/202
- Remove type annotations from docstrings by @rich-iannone in https://github.com/posit-dev/great-tables/pull/207
- Ensure that np.nan values are replaced with
na_color=vals by @rich-iannone in https://github.com/posit-dev/great-tables/pull/205 - Handle
.data_color()edge cases with single val columns / all missing values by @rich-iannone in https://github.com/posit-dev/great-tables/pull/213
Docs
- Add the
v0.3.0release post by @rich-iannone in https://github.com/posit-dev/great-tables/pull/200 - Docs table themes by @machow in https://github.com/posit-dev/great-tables/pull/197
- Add docs to the
fmt_image()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/216
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.3.0...v0.3.1
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.3.0
What's Changed
Features
- Add the
cols_width()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/143 - Add the
tab_options()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/146 - Add
opt*methods for vertical and horizontal padding by @rich-iannone in https://github.com/posit-dev/great-tables/pull/154 - Add the
opt_align_table_header()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/147 - Add the
opt_all_caps()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/150 - Add the
fmt_image()method by @machow in https://github.com/posit-dev/great-tables/pull/163 - Add the
system_fonts()helper function by @rich-iannone in https://github.com/posit-dev/great-tables/pull/158 - Enable use of ColorBrewer palettes in
data_color()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/186
Fixes
- Replace
with_row_countbywith_row_indexforPolarsby @jrycw in https://github.com/posit-dev/great-tables/pull/189 - Add
py.typedto support PEP-561 (type-hinting) by @sugatoray in https://github.com/posit-dev/great-tables/pull/139 - Ensure table font names (from
tab_options()) is accepted as str or list by @rich-iannone in https://github.com/posit-dev/great-tables/pull/155 - Fix
FutureWarningforDataFrameGroupBy.grouperby @jrycw in https://github.com/posit-dev/great-tables/pull/193
Docs
- docs: update one of the column names for
Column Labelsby @jrycw in https://github.com/posit-dev/great-tables/pull/187 - docs: blog superbowl, add source by @machow in https://github.com/posit-dev/great-tables/pull/185
- docs: superbowl blog draft by @machow in https://github.com/posit-dev/great-tables/pull/184
- Docs examples sports by @machow in https://github.com/posit-dev/great-tables/pull/195
- Add example for sza and
data_color()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/136 - Clean up examples in API docs by @rich-iannone in https://github.com/posit-dev/great-tables/pull/191
Chores
- Remove unimplemented options from
tab_options()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/162
New Contributors
- @sugatoray made their first contribution in https://github.com/posit-dev/great-tables/pull/139
- @jrycw made their first contribution in https://github.com/posit-dev/great-tables/pull/189
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.2.0...v0.3.0
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.2.0
What's Changed
- ci: restore deploy url by @machow in https://github.com/posit-dev/great-tables/pull/108
- Fix tab spanner column name by @atseewal in https://github.com/posit-dev/great-tables/pull/111
- Fix validate frame by @machow in https://github.com/posit-dev/great-tables/pull/118
- docs: polars styling blog post by @machow in https://github.com/posit-dev/great-tables/pull/113
- Add basic implementation of the
data_color()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/109 - fix: validate_frame now coerces non string column names by @machow in https://github.com/posit-dev/great-tables/pull/127
- Use
to_list()method as cross-df solution by @rich-iannone in https://github.com/posit-dev/great-tables/pull/128 - Add guide to
data_color()and introductory blog post to next version of package by @rich-iannone in https://github.com/posit-dev/great-tables/pull/131
New Contributors
- @atseewal made their first contribution in https://github.com/posit-dev/great-tables/pull/111
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.1.5...v0.2.0
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.1.5
What's Changed
- feat: add the
fmt_datetime()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/101 - feat: generalize row selectors by @machow in https://github.com/posit-dev/great-tables/pull/107
- All
rows=arguments now can receive a function, that operates on a DataFrame. This makes it easier to select rows in pandas. See the row selection docs.
- All
- docs: intro blog post by @rich-iannone in https://github.com/posit-dev/great-tables/pull/105
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.1.4...v0.1.5
- Python
Published by machow over 2 years ago
great-tables - v0.1.4 ā Styling refined to the max!
What's Changed
- docs: single column examples on narrow screens by @machow in https://github.com/posit-dev/great-tables/pull/81
- feat: add style.from_column, implement for loc.body by @machow in https://github.com/posit-dev/great-tables/pull/83
- fix: cols_hide by @machow in https://github.com/posit-dev/great-tables/pull/86
- fix: allow lists of styles and lists of locations by @machow in https://github.com/posit-dev/great-tables/pull/87
- docs: get started with styling page by @machow in https://github.com/posit-dev/great-tables/pull/88
- Ensure that ID value in compiled CSS is applied to all rules by @rich-iannone in https://github.com/posit-dev/great-tables/pull/92
- Add interlinks throughout documentation site by @rich-iannone in https://github.com/posit-dev/great-tables/pull/97
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.1.3 - Styling and more!
What's Changed
- fix: handle addition in scss template by @machow in https://github.com/posit-dev/great-tables/pull/72
- add hyperlinks in table example by @kmasiello in https://github.com/posit-dev/great-tables/pull/70
- Implement the
tab_style()method by @rich-iannone in https://github.com/posit-dev/great-tables/pull/68 - Ensure that
tab_source_note()works when usingmd()orhtml()by @rich-iannone in https://github.com/posit-dev/great-tables/pull/77 - ci: pre-commit checks by @machow in https://github.com/posit-dev/great-tables/pull/78
- Make invocation
loc.body()default to all columns and rows by @rich-iannone in https://github.com/posit-dev/great-tables/pull/79
New Contributors
- @kmasiello made their first contribution in https://github.com/posit-dev/great-tables/pull/70
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.1.2...v0.1.3
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.1.2: functions to render in shiny, shinylive support
What's Changed
- docs: fix code example in README.md by @cscheid in https://github.com/posit-dev/great-tables/pull/62
- feat: shiny output and renderer for GT by @machow in https://github.com/posit-dev/great-tables/pull/59
- refactor: replace libsass code with webcolors by @machow in https://github.com/posit-dev/great-tables/pull/61
- This enables us to use
great_tablesin https://shinylive.io!
- This enables us to use
Here is an example shiny app:
```python from shiny import App, ui
from greattables import GT, exibble import greattables.shiny as gts
appui = ui.pagefluid(gts.output_gt("table"))
def server(input, output, session): @output @gts.render_gt def table(): return GT(exibble)
app = App(app_ui, server) ```
New Contributors
- @cscheid made their first contribution in https://github.com/posit-dev/great-tables/pull/62
Full Changelog: https://github.com/posit-dev/great-tables/compare/v0.1.1...v0.1.2
- Python
Published by machow over 2 years ago
great-tables - v0.1.1 - Several minor post-v0.1.0 fixes
- Ensured that column selections exclude columns that are in the stub. (https://github.com/posit-dev/great-tables/pull/49)
- Dataclasses are now frozen. (https://github.com/posit-dev/great-tables/pull/50)
- Added several tests and incorporated
pytest-cov. (https://github.com/posit-dev/great-tables/pull/53, https://github.com/posit-dev/great-tables/pull/54, https://github.com/posit-dev/great-tables/pull/55) - Remove datasets from top-level module (except for
exibble); addeddatasubmodule. (https://github.com/posit-dev/great-tables/pull/57) - Performed several rendering fixes. (https://github.com/posit-dev/great-tables/pull/58)
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.1.0 - Comprehensive table structuring + more!
What's Changed
This release rounds out our initial API offering, with:
- structuring of a table with spanners, row groups, and stub labels
- fully fleshed-out formatting methods with locale support
- support for polars and polars selectors (e.g.,
cs.starts_with, etc.) - addition of the
valssubmodule to enable formatting of values outside of a table context - a Getting Started guide on the docs site along with many examples in the API reference
- Python
Published by rich-iannone over 2 years ago
great-tables - v0.0.2: a very rough, early release
What's Changed
This release contains fairly comprehensive implementations of a top-level GT object, with...
- Reasonably featureful
fmt_*methods - Methods for titles, subtitles, and table notes
- Internal work for implementing spanners, and row and group columns (in a future release).
New Contributors
- @machow made their first contribution in https://github.com/posit-dev/great-tables/pull/3
- @rich-iannone made their first contribution in https://github.com/posit-dev/great-tables/pull/12
Full Changelog: https://github.com/posit-dev/great-tables/commits/v0.0.2
- Python
Published by machow over 2 years ago
great-tables - v0.0.2: a very rough, early release
What's Changed
This release contains fairly comprehensive implementations of a top-level GT object, with...
- Reasonably featureful
fmt_*methods - Methods for titles, subtitles, and table notes
- Internal work for implementing spanners, and row and group columns (in a future release).
New Contributors
- @machow made their first contribution in https://github.com/posit-dev/great-tables/pull/3
- @rich-iannone made their first contribution in https://github.com/posit-dev/great-tables/pull/12
Full Changelog: https://github.com/posit-dev/great-tables/commits/v0.0.2
- Python
Published by machow over 2 years ago