Spaces:
Running
Running
Ludwig Stumpp
commited on
Commit
·
3b31368
1
Parent(s):
f1e50f4
Improve text
Browse files- streamlit_app.py +2 -2
streamlit_app.py
CHANGED
@@ -43,11 +43,11 @@ def filter_dataframe(df: pd.DataFrame) -> pd.DataFrame:
|
|
43 |
modification_container = st.container()
|
44 |
|
45 |
with modification_container:
|
46 |
-
to_filter_index = st.multiselect("Filter
|
47 |
if to_filter_index:
|
48 |
df = pd.DataFrame(df.loc[to_filter_index])
|
49 |
|
50 |
-
to_filter_columns = st.multiselect("Filter
|
51 |
if to_filter_columns:
|
52 |
df = pd.DataFrame(df[to_filter_columns])
|
53 |
|
|
|
43 |
modification_container = st.container()
|
44 |
|
45 |
with modification_container:
|
46 |
+
to_filter_index = st.multiselect("Filter by model:", df.index)
|
47 |
if to_filter_index:
|
48 |
df = pd.DataFrame(df.loc[to_filter_index])
|
49 |
|
50 |
+
to_filter_columns = st.multiselect("Filter by benchmark:", df.columns)
|
51 |
if to_filter_columns:
|
52 |
df = pd.DataFrame(df[to_filter_columns])
|
53 |
|