Styler.set_table_styles()

pandas.formats.style.Styler.set_table_styles

Styler.set_table_styles(table_styles)

Set the table styles on a Styler. These are placed in a <style> tag before the generated HTML table.

New in version 0.17.1.

Parameters:

table_styles: list

Each individual table_style should be a dictionary with selector and props keys. selector should be a CSS selector that the style will be applied to (automatically prefixed by the table’s UUID) and props should b