Style — pandas 0.25.3 documentation (original) (raw)

Style application

Styler.apply(self, func[, axis, subset]) Apply a function column-wise, row-wise, or table-wise, updating the HTML representation with the result.
Styler.applymap(self, func[, subset]) Apply a function elementwise, updating the HTML representation with the result.
Styler.where(self, cond, value[, other, subset]) Apply a function elementwise, updating the HTML representation with a style which is selected in accordance with the return value of a function.
Styler.format(self, formatter[, subset]) Format the text display value of cells.
Styler.set_precision(self, precision) Set the precision used to render.
Styler.set_table_styles(self, table_styles) Set the table styles on a Styler.
Styler.set_table_attributes(self, attributes) Set the table attributes.
Styler.set_caption(self, caption) Set the caption on a Styler
Styler.set_properties(self[, subset]) Convenience method for setting one or more non-data dependent properties or each cell.
Styler.set_uuid(self, uuid) Set the uuid for a Styler.
Styler.clear(self) Reset the styler, removing any previously applied styles.
Styler.pipe(self, func, \*args, \*\*kwargs) Apply func(self, *args, **kwargs), and return the result.