Michael Chow
Michael Chow
Currently, because GT is a dataclass, it just displays full representations of its attributes in the console. Because its attributes are also dataclasses, they do the same, so things get...
@gshotwell mentioned it could be cool to create a shiny template for reporting clinical trials. Opening this issue to track creating some docs around this kind of thing. ## Docs...
Currently, if you try to specify line_type curved, but also supply x_vals, we quietly set line_type back to straight. ```python _generate_nanoplot( y_vals=[1, 2, 3], x_vals=[2, 4, 6], show_data_line=True, plot_type="line", line_type="curved"...
```python from great_tables import exibble, GT GT(exibble) ``` Note that `great_tables._utils_render_html.create_body_component_h()` handles creating the string representation of nulls. It converts these to ``, which gets interpreted as an html element,...
It looks like Great Tables doesn't account for the grouping being a column: ```python (GT(exibble, rowname_col="row", groupname_col="group") .tab_options(row_group_as_column = True) ) ```
Should be a quick one https://gt.rstudio.com/reference/opt_table_font.html
itables has this neat page with supported editors. I like that it includes screenshots, so you know what the table should look like in each editor... https://mwouts.github.io/itables/supported_editors.html
Polars supports nested data---such as lists and structs---in columns of data. Here's an example from the [polars guide](https://docs.pola.rs/user-guide/expressions/aggregation/#basic-aggregations) ```python import polars as pl url = "https://theunitedstates.io/congress-legislators/legislators-historical.csv" dtypes = { "first_name":...
Related to https://github.com/posit-dev/great-tables/pull/34, I've implemented the path for using polars selectors, but need to add more tests of its usage. It seems like aspects of selection can be consolidated in...
E.g. `tab_spanner("name", ["some_nonmatching_name"])`