Set the styles on the current Styler.
Possibly uses styles from Styler.export
.
âapplyâ: list of styler functions, typically added with apply
or map
.
âtable_attributesâ: HTML attributes, typically added with set_table_attributes
.
âtable_stylesâ: CSS selectors and properties, typically added with set_table_styles
.
âhide_indexâ: whether the index is hidden, typically added with hide_index
, or a boolean list for hidden levels.
âhide_columnsâ: whether column headers are hidden, typically added with hide_columns
, or a boolean list for hidden levels.
âhide_index_namesâ: whether index names are hidden.
âhide_column_namesâ: whether column header names are hidden.
âcssâ: the css class names used.
See also
Styler.export
Export the non data dependent attributes to the current Styler.
Examples
>>> styler = pd.DataFrame([[1, 2], [3, 4]]).style >>> styler2 = pd.DataFrame([[9, 9, 9]]).style >>> styler.hide(axis=0).highlight_max(axis=1) >>> export = styler.export() >>> styler2.use(export)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4