From 6742c8e0a8d35aec14d1aab34c1ff602e71e43a5 Mon Sep 17 00:00:00 2001 From: Bhuvana KA Date: Wed, 2 Oct 2019 08:19:07 +0530 Subject: [PATCH 1/3] fixed the PR08,PR09 errors --- pandas/io/formats/style.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 95e1084747aa3..db6e69eb26099 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`` @@ -77,6 +81,8 @@ class Styler: See Also -------- DataFrame.style + Returns a Styler object containing methods for building + a styled HTML representation for the DataFrame. Notes ----- From c55761d04ff8e8c96b8417b62292bf61cff7e8b9 Mon Sep 17 00:00:00 2001 From: Bhuvana KA Date: Wed, 2 Oct 2019 10:21:04 +0530 Subject: [PATCH 2/3] changed the See Also description --- pandas/io/formats/style.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index db6e69eb26099..65420039d17df 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -80,10 +80,8 @@ class Styler: See Also -------- - DataFrame.style - Returns a Styler object containing methods for building + DataFrame.style : Return a Styler object containing methods for building a styled HTML representation for the DataFrame. - Notes ----- Most styling will be done by passing style functions into From 2f93ccc444864571734fc8f1bd296640c9df6cf7 Mon Sep 17 00:00:00 2001 From: Bhuvana KA Date: Wed, 2 Oct 2019 11:26:23 +0530 Subject: [PATCH 3/3] added a line before Notes --- pandas/io/formats/style.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 65420039d17df..c1af3f93f44eb 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -82,6 +82,7 @@ class Styler: -------- DataFrame.style : Return a Styler object containing methods for building a styled HTML representation for the DataFrame. + Notes ----- Most styling will be done by passing style functions into