Skip to content

Commit 2e41e54

Browse files
committed
force index display
1 parent ef97cc2 commit 2e41e54

File tree

2 files changed

+152
-124
lines changed

2 files changed

+152
-124
lines changed

bigframes/display/anywidget.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,7 @@ def _set_table_html(self) -> None:
297297
page_data = cached_data.iloc[start:end].copy()
298298

299299
# Handle index display
300-
if hasattr(self._dataframe, "_has_index") and not self._dataframe._has_index:
301-
# No index to display
302-
pass
303-
elif page_data.index.name is not None:
300+
if page_data.index.name is not None:
304301
# Custom named index - include it with its actual name
305302
page_data.insert(0, page_data.index.name, page_data.index)
306303
else:

0 commit comments

Comments
 (0)