Styler.
where
Apply a function elementwise.
Updates the HTML representation with a style which is selected in accordance with the return value of a function.
cond should take a scalar and return a boolean.
cond
Applied when cond returns true.
Applied when cond returns false.
A valid indexer to limit data to before applying the function. Consider using a pandas.IndexSlice.
data
Pass along to cond.
See also
Styler.applymap
Updates the HTML representation with the result.