Bram Vanroy
commited on
Commit
•
559e4ba
1
Parent(s):
5693ee5
hide styler index
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def style_df(df: DataFrame) -> Styler:
|
|
89 |
return np.where(col == np.nanmax(col.to_numpy()), "font-weight: bold;", None)
|
90 |
|
91 |
styler = styler.apply(highlight_max, axis=1, subset=df.columns[1:])
|
92 |
-
|
93 |
return styler
|
94 |
|
95 |
|
|
|
89 |
return np.where(col == np.nanmax(col.to_numpy()), "font-weight: bold;", None)
|
90 |
|
91 |
styler = styler.apply(highlight_max, axis=1, subset=df.columns[1:])
|
92 |
+
styler = styler.hide()
|
93 |
return styler
|
94 |
|
95 |
|