great-tables
great-tables copied to clipboard
Setting groupname_col drops the group col, unless you set rowname_col
If you set the groupname_col= arg of GT by itself, you should see grouping rows in the data. Instead, the group column gets dropped. If you set groupname_col and rowname_col, the groupings appear as expected.
from great_tables import GT, exibble
GT(exibble, groupname_col="group")
Here is the output (via vs code notebook)
GT(exibble, groupname_col="group", rowname_col="char")
Here's matching R code for reference
gt(mtcars, groupname_col=cyl)
(note that the image is truncated, since the table has many rows)
Let's raise a NotImplementedError for now