Spaces:
Running
Running
Andrea Seveso
commited on
Commit
•
f1345f3
1
Parent(s):
f7aa050
Add float precision
Browse files
app.py
CHANGED
@@ -136,6 +136,7 @@ def get_macro_area_data():
|
|
136 |
'LS (29)', ' MO (24)', 'SP (4)', 'SY (19)', 'TP (6)']
|
137 |
dataset.columns = columns
|
138 |
dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
|
|
139 |
return dataset
|
140 |
|
141 |
|
@@ -151,6 +152,7 @@ def get_question_format_data():
|
|
151 |
dataset.columns = columns
|
152 |
|
153 |
dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
|
|
154 |
return dataset
|
155 |
|
156 |
|
|
|
136 |
'LS (29)', ' MO (24)', 'SP (4)', 'SY (19)', 'TP (6)']
|
137 |
dataset.columns = columns
|
138 |
dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
139 |
+
dataset = dataset.style.format("{:.1f}")
|
140 |
return dataset
|
141 |
|
142 |
|
|
|
152 |
dataset.columns = columns
|
153 |
|
154 |
dataset = dataset.style.highlight_max(color='lightgreen', axis=0)
|
155 |
+
dataset = dataset.style.format("{:.1f}")
|
156 |
return dataset
|
157 |
|
158 |
|