statsmodels.iolib.table.SimpleTable.label_cells#

SimpleTable.label_cells(func)[source]#

Label cells based on func

Parameters:
funccallable

Called with each cell in the table. If func(cell) is None then the cell’s datatype is not changed; otherwise it is set to func(cell).