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