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")