Skip to content

Commit db32596

Browse files
committed
fix indent
1 parent de0aefc commit db32596

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

doc/source/whatsnew/v0.20.2.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ I/O
5252
^^^
5353

5454
- Bug that would force importing of the clipboard routines unnecessarily, potentially causing an import error on startup (:issue:`16288`)
55-
- :class:`pandas.io.formats.style.Styler` now has ``index`` parameter and corresponding method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
56-
- :class:`pandas.io.formats.style.Styler` now has ``hidden_cols`` parameter and corresponding method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
5755

5856

5957
Plotting
@@ -87,5 +85,12 @@ Numeric
8785

8886

8987

88+
Other Enhancements
89+
^^^^^^^^^^^^^^^^^^
90+
91+
- :class:`pandas.io.formats.style.Styler` now has ``index`` parameter and corresponding method ``hide_index()`` to determine whether the index will be rendered in ouptut (:issue:`14194`)
92+
- :class:`pandas.io.formats.style.Styler` now has ``hidden_cols`` parameter and corresponding method ``hide_columns()`` to determine whether columns will be hidden in output (:issue:`14194`)
93+
94+
9095
Other
9196
^^^^^

pandas/io/formats/style.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ def format_attr(pair):
274274
row_es.append(es)
275275
head.append(row_es)
276276

277-
if self.data.index.names and index_visible\
278-
and not all(x is None for x in self.data.index.names):
277+
if (self.data.index.names and index_visible and
278+
not all(x is None for x in self.data.index.names)):
279279
index_header_row = []
280280

281281
for c, name in enumerate(self.data.index.names):

0 commit comments

Comments
 (0)