Skip to content

Commit

Permalink
Replace hide_index to hide in ads (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
VipulMascarenhas authored Nov 7, 2024
2 parents f61fe2e + cdd0aa1 commit ef6184d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ads/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _repr_html_(self):
self.sampled_df.head(5)
.style.set_table_styles(utils.get_dataframe_styles())
.set_table_attributes("class=table")
.hide_index()
.hide()
.to_html()
)
)
Expand Down Expand Up @@ -261,7 +261,7 @@ def _repr_html_(self):
utils.horizontal_scrollable_div(
self.style.set_table_styles(utils.get_dataframe_styles())
.set_table_attributes("class=table")
.hide_index()
.hide()
.to_html()
)
)
Expand Down
2 changes: 1 addition & 1 deletion ads/dataset/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def list_snapshots(snapshot_dir=None, name="", storage_options=None, **kwargs):
display(
HTML(
list_df.style.set_table_attributes("class=table")
.hide_index()
.hide()
.to_html()
)
)
Expand Down

0 comments on commit ef6184d

Please sign in to comment.