Y1OV commited on
Commit
b915c63
·
verified ·
1 Parent(s): 9d219e6

Update Leaderboard.py

Browse files
Files changed (1) hide show
  1. Leaderboard.py +5 -5
Leaderboard.py CHANGED
@@ -4,10 +4,10 @@ import streamlit as st
4
 
5
 
6
  def load_data():
7
- df_itog = pd.read_csv("ITOG.csv").set_index("Model")
8
- df_oblzn = pd.read_csv("oblzn.csv").set_index("Model")
9
- df_vidvopr = pd.read_csv("vidvopr.csv").set_index("Model")
10
- df_provokac = pd.read_csv("provokac.csv").set_index("Model")
11
 
12
  return df_itog, df_oblzn, df_vidvopr, df_provokac
13
 
@@ -25,7 +25,7 @@ def filter_itog_columns(df):
25
 
26
  selected_columns = st.multiselect(
27
  "Выберите колонки для отображения:",
28
- options=[col for col in df.columns if col != "Model"]
29
  )
30
 
31
 
 
4
 
5
 
6
  def load_data():
7
+ df_itog = pd.read_csv("ITOG.csv").set_index("model")
8
+ df_oblzn = pd.read_csv("oblzn.csv").set_index("model")
9
+ df_vidvopr = pd.read_csv("vidvopr.csv").set_index("model")
10
+ df_provokac = pd.read_csv("provokac.csv").set_index("model")
11
 
12
  return df_itog, df_oblzn, df_vidvopr, df_provokac
13
 
 
25
 
26
  selected_columns = st.multiselect(
27
  "Выберите колонки для отображения:",
28
+ options=[col for col in df.columns if col != "model"]
29
  )
30
 
31