pandas.io.formats.style.Styler.highlight_min
pandas 3.1.1 · Styling · method
Highlight values tied for the minimum in the selected scope.
Call syntax
Styler.highlight_min(subset=None, color='yellow', axis=0, props=None)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
subset |
Optional Positional or keyword Default None |
label, array-like, IndexSlice Restrict the operation to these labels instead of considering the whole object. |
color |
Optional Positional or keyword Default 'yellow' |
str Choose the color or colors for the plot or styled cells. |
axis |
Optional Positional or keyword Default 0 |
{0 or 'index', 1 or 'columns', None} Choose which axis the operation acts on. The accepted axis labels depend on the receiver. |
props |
Optional Positional or keyword Default None |
str Supply CSS property declarations or the styles applied to matching cells. |
Returns
Styler