great-tables
great-tables copied to clipboard
TypeError from a simple table render (from concatenation of int values)
A relatively simple table rendering yields a TypeError. Here's code that results in the error:
from great_tables import GT, md
from great_tables.data import constants
constants_mini = constants[["name", "value", "uncert", "sf_value", "sf_uncert", "units"]].tail(6)
GT(constants_mini, rowname_col="name", groupname_col="sf_value")
Results in the error:
TypeError: can only concatenate str (not "numpy.int64") to str