Spaces:
Running
Running
update
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def format_floats(x):
|
|
23 |
def baseline_load_data(model, dataset, setting, criteria):
|
24 |
file_path = f'versions/{model}_{dataset}_{setting}_{criteria}.csv' # Replace with your file paths
|
25 |
df = pd.read_csv(file_path)
|
26 |
-
|
27 |
|
28 |
# we only want specific columns and in a specific order
|
29 |
if dataset == 'news':
|
|
|
23 |
def baseline_load_data(model, dataset, setting, criteria):
|
24 |
file_path = f'versions/{model}_{dataset}_{setting}_{criteria}.csv' # Replace with your file paths
|
25 |
df = pd.read_csv(file_path)
|
26 |
+
df = df.applymap(format_floats)
|
27 |
|
28 |
# we only want specific columns and in a specific order
|
29 |
if dataset == 'news':
|