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 function column-wise, row-wise, or table-wise. |
|
Apply a function elementwise. |
|
Apply a function elementwise. |
|
Format the text display value of cells. |
|
Set the precision used to render. |
|
Add string based CSS class names to data cells that will appear within the Styler HTML result. |
|
Set the table styles on a Styler. |
|
Set the table attributes. |
|
Set the caption on a Styler. |
|
Method to set one or more non-data dependent properties or each cell. |
|
Set the uuid for a Styler. |
|
Set the missing data representation on a Styler. |
Reset the styler, removing any previously applied styles. |
|
|
Apply |
Builtin styles¶
|
Highlight the maximum by shading the background. |
|
Highlight the minimum by shading the background. |
|
Shade the background |
|
Color the background in a gradient style. |
|
Draw bar chart in the cell backgrounds. |
Style export and import¶
|
Render the built up styles to HTML. |
Export the styles to applied to the current Styler. |
|
|
Set the styles on the current Styler. |
|
Write Styler to an Excel sheet. |