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