great-tables
great-tables copied to clipboard
Make awesome display tables using Python.
### My code ``` from great_tables import GT, md, exibble from pathlib import Path gt_tbl = ( GT( exibble[["num", "char", "currency", "row", "group"]], rowname_col="row", groupname_col="group", id="test_table", ) .tab_header( title=md("Data listing...
Having the method `fmt_units()` available would allow for formatting of text in 'units notation' in the table body to nicely formatted measurement units.
Currently, we only render to HTML. It would be great to support latex.
These could be on an example page in the docs, and/or in some submodule (e.g. `great_tables.info`). Could also have lists corresponding to options like country names for flags, currencies, locales,...
`Currently,` the data from gt is loaded whenever gt is imported. We should be able to get lazy looking using one of these approaches ### preferred: `__getattr__` on the init...
Functions like `fmt_nanoplot()` have arguments that support calculation expressions on data. For example, `reference_line=` can take arguments like "min", which then calculates the min. It would be great if we...
Currently, we are interested in pushing out features quickly. This is reflected especially in our docs, which simply push from main. This means that our docs can diverge from PyPI...
# Summary Thank you for contributing to **great_tables**... this is great! To make this process easier for everyone, please explain the context and purpose of your contribution. Also, list the...
This is a very rough draft of what `data_color` might look like, if the palette argument accepted an arbitrary function, mapping values -> hex colors. Example: ```python from great_tables import...
See https://data-apis.org/dataframe-api/draft/. This protocol allows DataFrames to expose a version of themselves that supports a shared set of methods. We could use this to implement a third kind of frame...