def applymap(self, func, subset=None, **kwargs):
        self._todo.append((lambda instance: getattr(instance, '_applymap'),
                           (func, subset), kwargs))
        return self
Apply a function elementwise, updating the HTML
dataset/ETHPy150Open pydata/pandas/pandas/formats/style.py/Styler.applymap