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