Style — pandas 0.24.2 documentation (original) (raw)

Styler.apply(func[, axis, subset])

Apply a function column-wise, row-wise, or table-wise, updating the HTML representation with the result.

Styler.applymap(func[, subset])

Apply a function elementwise, updating the HTML representation with the result.

Styler.where(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(formatter[, subset])

Format the text display value of cells.

Styler.set_precision(precision)

Set the precision used to render.

Styler.set_table_styles(table_styles)

Set the table styles on a Styler.

Styler.set_table_attributes(attributes)

Set the table attributes.

Styler.set_caption(caption)

Set the caption on a Styler

Styler.set_properties([subset])

Convenience method for setting one or more non-data dependent properties or each cell.

Styler.set_uuid(uuid)

Set the uuid for a Styler.

Styler.clear()

Reset the styler, removing any previously applied styles.

Styler.pipe(func, *args, **kwargs)

Apply func(self, *args, **kwargs), and return the result.