Apply a function elementwise.
Updates the HTML representation with the result.
func should take a scalar and return a scalar.
A valid indexer to limit data to before applying the
function. Consider using a pandas.IndexSlice.
Pass along to func.
Updates the HTML representation with a style which is selected in accordance with the return value of a function.