pandas.io.formats.style.Styler.highlight_max

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

Highlight the maximum by shading the background

New in version 0.17.1.

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 None

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

Returns:

self : Styler

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.20.3/generated/pandas.io.formats.style.Styler.highlight_max.html