Skip to content

DOC: Styler errors PR08 and PR09 #28743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ``<table>`` 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_<uuid>_row<num_row>_col<num_col>``
Expand All @@ -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
-----
Expand Down