How to set prefix symbol according to conditions in dash_table.DataTable?

How to set prefix symbol according to conditions in dash_table.DataTable???
As shown below
test