I am trying to return df.to_html() with one bold column. I have only tried
df = pd.DataFrame({'important_column': [1,2,3,4],
'dummy_column': [5,6,7,8]})
def some_function()
df.apply(lambda x: '<b>' + str(df['important_column']) + '</b>', axis=1)
return [df.to_html()]
But it doesn't seem to work. Does any one know a practical solution?
