Spaces:
Running
Running
Andrea Seveso
commited on
Commit
•
53bb222
1
Parent(s):
db04e35
Add style
Browse files
app.py
CHANGED
@@ -130,7 +130,9 @@ def filter_models(
|
|
130 |
|
131 |
|
132 |
def get_macro_area_data():
|
133 |
-
dataset = pd.read_csv("src/macro_area.csv", sep=',')
|
|
|
|
|
134 |
# dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
135 |
return dataset
|
136 |
|
@@ -146,7 +148,7 @@ def get_question_format_data():
|
|
146 |
columns[0] = 'Model'
|
147 |
dataset.columns = columns
|
148 |
|
149 |
-
|
150 |
return dataset
|
151 |
|
152 |
|
|
|
130 |
|
131 |
|
132 |
def get_macro_area_data():
|
133 |
+
dataset = pd.read_csv("src/macro_area.csv", sep=',', skiprows=1)
|
134 |
+
dataset = dataset.iloc[1:]
|
135 |
+
|
136 |
# dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
137 |
return dataset
|
138 |
|
|
|
148 |
columns[0] = 'Model'
|
149 |
dataset.columns = columns
|
150 |
|
151 |
+
dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
152 |
return dataset
|
153 |
|
154 |
|