From d77a9f109e036eb23c609cd22c7badc63afee1aa Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 1 Mar 2017 18:58:45 -0600 Subject: [PATCH] DOC: Style.set_table_attributes docstring --- pandas/formats/style.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pandas/formats/style.py b/pandas/formats/style.py index 89712910a22e1..4374c41da42f4 100644 --- a/pandas/formats/style.py +++ b/pandas/formats/style.py @@ -631,11 +631,17 @@ def set_table_attributes(self, attributes): Parameters ---------- - precision: int + attributes : string Returns ------- self : Styler + + Examples + -------- + >>> df = pd.DataFrame(np.random.randn(10, 4)) + >>> df.style.set_table_attribute('class="pure-table"') + # ... ... """ self.table_attributes = attributes return self