pandas.io.formats.style.Styler.highlight_null

Styler.highlight_null(null_color='red', subset=None, props=None)[source]

Highlight missing values with a style.

Parameters
null_colorstr, default ‘red’
subsetlabel or list of labels, default None

A valid slice for data to limit the style application to.

New in version 1.1.0.

propsstr, default None

CSS properties to use for highlighting. If props is given, color is not used.

New in version 1.3.0.

Returns
selfStyler

See also

Styler.highlight_max

Highlight the maximum with a style.

Styler.highlight_min

Highlight the minimum with a style.