Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.io.formats.style.Styler.highlight_max

Styler.highlight_max(subset=None, color='yellow', axis=0)[source]

Highlight the maximum by shading the background

Parameters:

subset: IndexSlice, default None

a valid slice for data to limit the style application to

color: str, default ‘yellow’

axis: int, str, or None; default 0

0 or ‘index’ for columnwise (default), 1 or ‘columns’ for rowwise, or None for tablewise

Returns:
self : Styler
Scroll To Top