-
Styler.applymap(func, subset=None, **kwargs)[source] -
Apply a function elementwise, updating the HTML representation with the result.
New in version 0.17.1.
Parameters: func : function
funcshould take a scalar and return a scalarsubset : IndexSlice
a valid indexer to limit
datato before applying the function. Consider using a pandas.IndexSlicekwargs : dict
pass along to
funcReturns: self : Styler
Styler.applymap()
2025-01-10 15:47:30
Please login to continue.