great-tables
great-tables copied to clipboard
Make awesome display tables using Python.
Fix issue: #582. Hello team: This PR sets up a scaffold for `tab_spanner_delim()`. ### Basic Logic: 1. Use `str.split` or `str.rsplit` to split column names, corresponding to `delimi=` and `limit=`...
This PR adds the `fmt_tf()` formatting method, which is meant for formatting boolean values in a column.
This PR adds the `compact=` parameter to `fmt_currency()`, so that values such as $12,345 can render as $12.34K. The behavior of `compact=` here is the same as in other formatters...
Hello team, This PR ports the [cols_label_with()](https://gt.rstudio.com/reference/cols_label_with.html) function from `{gt}` to Great Tables.
`GT(pa.Table.from_pydict({"foo": [0]})).sub_missing(missing_text="-").show()` I pulled the final stack in the trace below. Here are my versions: ❯ uv pip list | grep arrow arrow 1.3.0 pyarrow 19.0.1 pyarrow-hotfix 0.6 ❯ uv...
## Prework - [x] Read and abide by the **great_tables** [code of conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) and [contributing guidelines](https://github.com/posit-dev/great_tables/blob/main/.github/CONTRIBUTING.md). — **the CONTRIBUTING link is 404 though** - [x] Search for duplicates among the...
## Prework - [x] Read and agree to the [code of conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) and [contributing guidelines](https://github.com/posit-dev/great_tables/blob/main/.github/CONTRIBUTING.md). - [x] If there is [already a relevant issue](https://github.com/posit-dev/great_tables/issues), whether open or closed, comment on...
Hi, thanks for the great library! I'm writing a wrapper function for `gt.fmt_datetime`, `gt.fmt_date` etc. but I need to import `DateStyle` and `TimeStyle` from `great_tables._formats` to type hint the function...
## Prework - [x] Read and abide by the **great_tables** [code of conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) and [contributing guidelines](https://github.com/posit-dev/great_tables/blob/main/.github/CONTRIBUTING.md). - [x] Search for duplicates among the [existing issues](https://github.com/posit-dev/great_tables/issues) (both open and closed). ##...
### Discussed in https://github.com/posit-dev/great-tables/discussions/650 Originally posted by **skane88** March 27, 2025 I can't seem to find anything in the documentation, but is there a way to nicely display boolean data...