Hi experts,
pd.set_option('display.width', 2000)
pd.set_option('html.border', 1)
df = pd.DataFrame(w)
html=df.style.applymap(color_negative_red).render()
f = open(case+".html", 'w')
print(df)
print(html)
f.write(html)
f.close()
to_html() looks pretty well, but I want to color some cells, so after render(), the border of table is lost.
I try add, ""pd.set_option('html.border', 1)"" but it doesn't work.
Would you give me some suggestion ?
James