@@ -54,14 +54,18 @@ class Styler:
54
54
Parameters
55
55
----------
56
56
data : Series or DataFrame
57
+ Data to be styled - either a Series or DataFrame.
57
58
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.
59
60
table_styles : list-like, default None
60
- list of {selector: (attr, value)} dicts; see Notes
61
+ List of {selector: (attr, value)} dicts; see Notes.
61
62
uuid : str, default None
62
- a unique identifier to avoid CSS collisions; generated automatically
63
+ A unique identifier to avoid CSS collisions; generated automatically.
63
64
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.
65
69
cell_ids : bool, default True
66
70
If True, each cell will have an ``id`` attribute in their HTML tag.
67
71
The ``id`` takes the form ``T_<uuid>_row<num_row>_col<num_col>``
@@ -76,7 +80,8 @@ class Styler:
76
80
77
81
See Also
78
82
--------
79
- DataFrame.style
83
+ DataFrame.style : Return a Styler object containing methods for building
84
+ a styled HTML representation for the DataFrame.
80
85
81
86
Notes
82
87
-----
0 commit comments