> 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.

After your suggestion, rows are properly colored, but now I have lost all table 
lines, font is smaller...
Is there an option for keeping table format, and change only rows background 
color?

Regards.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to