This can be achieved using the wonderful new DataFrame.style class.
for instance

This example depends on loading the loading CSS page on the page. It plugs into the laptop when you use the laptop interactively.
More generally, it is a mixture of set_table_attributes to give it a class, and set_table_styles for more specific elements should produce fairly fine-grained controls.
source share