diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 95e1084747aa3..c1af3f93f44eb 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -54,14 +54,18 @@ class Styler: Parameters ---------- data : Series or DataFrame + Data to be styled - either a Series or DataFrame. precision : int - precision to round floats to, defaults to pd.options.display.precision + Precision to round floats to, defaults to pd.options.display.precision. table_styles : list-like, default None - list of {selector: (attr, value)} dicts; see Notes + List of {selector: (attr, value)} dicts; see Notes. uuid : str, default None - a unique identifier to avoid CSS collisions; generated automatically + A unique identifier to avoid CSS collisions; generated automatically. caption : str, default None - caption to attach to the table + Caption to attach to the table. + table_attributes : str, default None + Items that show up in the opening ```` tag + in addition to automatic (by default) id. cell_ids : bool, default True If True, each cell will have an ``id`` attribute in their HTML tag. The ``id`` takes the form ``T__row_col`` @@ -76,7 +80,8 @@ class Styler: See Also -------- - DataFrame.style + DataFrame.style : Return a Styler object containing methods for building + a styled HTML representation for the DataFrame. Notes -----