Styler objects are returned by pandas.DataFrame.style.
Styler
pandas.DataFrame.style
Styler(data[, precision, table_styles, …])
Helps style a DataFrame or Series according to the data with HTML and CSS.
Styler.from_custom_template(searchpath, name)
Styler.from_custom_template
Factory function for creating a subclass of Styler.
Styler.env
Styler.template
Styler.loader
Styler.apply(self, func[, axis, subset])
Styler.apply
Apply a function column-wise, row-wise, or table-wise.
Styler.applymap(self, func[, subset])
Styler.applymap
Apply a function elementwise.
Styler.where(self, cond, value[, other, subset])
Styler.where
Styler.format(self, formatter[, subset])
Styler.format
Format the text display value of cells.
Styler.set_precision(self, precision)
Styler.set_precision
Set the precision used to render.
Styler.set_table_styles(self, table_styles)
Styler.set_table_styles
Set the table styles on a Styler.
Styler.set_table_attributes(self, attributes)
Styler.set_table_attributes
Set the table attributes.
Styler.set_caption(self, caption)
Styler.set_caption
Set the caption on a Styler.
Styler.set_properties(self[, subset])
Styler.set_properties
Method to set one or more non-data dependent properties or each cell.
Styler.set_uuid(self, uuid)
Styler.set_uuid
Set the uuid for a Styler.
Styler.set_na_rep(self, na_rep)
Styler.set_na_rep
Set the missing data representation on a Styler.
Styler.clear(self)
Styler.clear
Reset the styler, removing any previously applied styles.
Styler.pipe(self, func, *args, **kwargs)
Styler.pipe
Apply func(self, *args, **kwargs), and return the result.
func(self, *args, **kwargs)
Styler.highlight_max(self[, subset, color, axis])
Styler.highlight_max
Highlight the maximum by shading the background.
Styler.highlight_min(self[, subset, color, axis])
Styler.highlight_min
Highlight the minimum by shading the background.
Styler.highlight_null(self[, null_color])
Styler.highlight_null
Shade the background null_color for missing values.
null_color
Styler.background_gradient(self[, cmap, …])
Styler.background_gradient
Color the background in a gradient style.
Styler.bar(self[, subset, axis, color, …])
Styler.bar
Draw bar chart in the cell backgrounds.
Styler.render(self, **kwargs)
Styler.render
Render the built up styles to HTML.
Styler.export(self)
Styler.export
Export the styles to applied to the current Styler.
Styler.use(self, styles)
Styler.use
Set the styles on the current Styler.
Styler.to_excel(self, excel_writer[, …])
Styler.to_excel
Write Styler to an Excel sheet.