Skip to content

Commit 650f3f7

Browse files
committed
fix merge
1 parent 72f0bc0 commit 650f3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/formats/style.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ def format_attr(pair):
257257
row_es.append(es)
258258
head.append(row_es)
259259

260-
if self.data.index.names and _any_not_none(*self.data.index.names) and
261-
index_visible:
260+
if (self.data.index.names and _any_not_none(*self.data.index.names) and
261+
not hidden_index):
262262
index_header_row = []
263263

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

0 commit comments

Comments
 (0)