Pandas to_html cannot apply style

zljubisic at gmail.com zljubisic at gmail.com
Mon Oct 30 04:43:11 EDT 2017


 
> This is not an in-place operation: it returns a style which you can then
> render.
> 
> style = df.style.apply(function2, axis=1)
> html = style.render()
> 
> appears to work.

This was a missing link.
Thank you very very much Thomas. 

Regards and best wishes.



More information about the Python-list mailing list