Skip to content

Commit c0cafbb

Browse files
DOC: Styler errors PR08 and PR09 (#28743)
1 parent b6cb1b3 commit c0cafbb

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pandas/io/formats/style.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,18 @@ class Styler:
5454
Parameters
5555
----------
5656
data : Series or DataFrame
57+
Data to be styled - either a Series or DataFrame.
5758
precision : int
58-
precision to round floats to, defaults to pd.options.display.precision
59+
Precision to round floats to, defaults to pd.options.display.precision.
5960
table_styles : list-like, default None
60-
list of {selector: (attr, value)} dicts; see Notes
61+
List of {selector: (attr, value)} dicts; see Notes.
6162
uuid : str, default None
62-
a unique identifier to avoid CSS collisions; generated automatically
63+
A unique identifier to avoid CSS collisions; generated automatically.
6364
caption : str, default None
64-
caption to attach to the table
65+
Caption to attach to the table.
66+
table_attributes : str, default None
67+
Items that show up in the opening ``<table>`` tag
68+
in addition to automatic (by default) id.
6569
cell_ids : bool, default True
6670
If True, each cell will have an ``id`` attribute in their HTML tag.
6771
The ``id`` takes the form ``T_<uuid>_row<num_row>_col<num_col>``
@@ -76,7 +80,8 @@ class Styler:
7680
7781
See Also
7882
--------
79-
DataFrame.style
83+
DataFrame.style : Return a Styler object containing methods for building
84+
a styled HTML representation for the DataFrame.
8085
8186
Notes
8287
-----

0 commit comments

Comments
 (0)