diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 033d93d1456c8..95e1084747aa3 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -645,7 +645,7 @@ def apply(self, func, axis=0, subset=None, **kwargs): subset : IndexSlice a valid indexer to limit ``data`` to *before* applying the function. Consider using a pandas.IndexSlice - kwargs : dict + **kwargs : dict pass along to ``func`` Returns @@ -697,7 +697,7 @@ def applymap(self, func, subset=None, **kwargs): subset : IndexSlice a valid indexer to limit ``data`` to *before* applying the function. Consider using a pandas.IndexSlice - kwargs : dict + **kwargs : dict pass along to ``func`` Returns @@ -732,7 +732,7 @@ def where(self, cond, value, other=None, subset=None, **kwargs): subset : IndexSlice a valid indexer to limit ``data`` to *before* applying the function. Consider using a pandas.IndexSlice - kwargs : dict + **kwargs : dict pass along to ``cond`` Returns @@ -965,8 +965,10 @@ def background_gradient( ---------- cmap : str or colormap matplotlib colormap - low, high : float - compress the range by these values. + low : float + compress the range by the low. + high : float + compress the range by the high. axis : {0 or 'index', 1 or 'columns', None}, default 0 apply to each column (``axis=0`` or ``'index'``), to each row (``axis=1`` or ``'columns'``), or to the entire DataFrame at once @@ -1078,7 +1080,7 @@ def set_properties(self, subset=None, **kwargs): ---------- subset : IndexSlice a valid slice for ``data`` to limit the style application to - kwargs : dict + **kwargs : dict property: value pairs to be set for each cell Returns @@ -1350,8 +1352,10 @@ def pipe(self, func, *args, **kwargs): Function to apply to the Styler. Alternatively, a ``(callable, keyword)`` tuple where ``keyword`` is a string indicating the keyword of ``callable`` that expects the Styler. - *args, **kwargs : + *args : optional Arguments passed to `func`. + **kwargs : optional + A dictionary of keyword arguments passed into ``func``. Returns -------