Style¶
Styler
objects are returned by pandas.DataFrame.style
.
Styler constructor¶
|
Helps style a DataFrame or Series according to the data with HTML and CSS. |
|
Factory function for creating a subclass of |
Styler properties¶
Style application¶
|
Apply a CSS-styling function column-wise, row-wise, or table-wise. |
|
Apply a CSS-styling function elementwise. |
|
Apply a CSS-styling function to the index or column headers, level-wise. |
|
Apply a CSS-styling function to the index or column headers, elementwise. |
|
Format the text display value of cells. |
|
Format the text display value of index labels or column headers. |
|
Hide the entire index / column headers, or specific rows / columns from display. |
|
Set the DataFrame of strings added to the |
|
Set the table styles included within the |
|
Set the table attributes added to the |
|
Set the DataFrame of strings on |
|
Set the text added to a |
|
Add CSS to permanently display the index or column headers in a scrolling frame. |
|
Set defined CSS-properties to each |
|
Set the uuid applied to |
Reset the |
|
|
Apply |
Builtin styles¶
|
Highlight missing values with a style. |
|
Highlight the maximum with a style. |
|
Highlight the minimum with a style. |
|
Highlight a defined range with a style. |
|
Highlight values defined by a quantile with a style. |
|
Color the background in a gradient style. |
|
Color the text in a gradient style. |
|
Draw bar chart in the cell backgrounds. |
Style export and import¶
|
Write Styler to a file, buffer or string in HTML-CSS format. |
|
Write Styler to a file, buffer or string in LaTeX format. |
|
Write Styler to an Excel sheet. |
Export the styles applied to the current Styler. |
|
|
Set the styles on the current Styler. |