Styler.apply(func, axis=0, subset=None, **kwargs) [source]
Apply a function column-wise, row-wise, or table-wase, updating the HTML representation with the result. New in version 0.17.1. Parameters:
func : function func should take a Series or DataFrame (depending on axis), and return an object with the same shape. Must return a DataFrame with identical index and column labels when axis=None axis : int, str or None apply to each column (axis=0 or 'index') or to each row (axis=1 or 'co