Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def add_new_eval(
|
|
67 |
def get_normalized_df(df):
|
68 |
# final_score = df.drop('name', axis=1).sum(axis=1)
|
69 |
# df.insert(1, 'Overall Score', final_score)
|
70 |
-
normalize_df = df.copy()
|
71 |
for column in normalize_df.columns[1:]:
|
72 |
min_val = NORMALIZE_DIC[column]['Min']
|
73 |
max_val = NORMALIZE_DIC[column]['Max']
|
|
|
67 |
def get_normalized_df(df):
|
68 |
# final_score = df.drop('name', axis=1).sum(axis=1)
|
69 |
# df.insert(1, 'Overall Score', final_score)
|
70 |
+
normalize_df = df.copy().fillna(0.0)
|
71 |
for column in normalize_df.columns[1:]:
|
72 |
min_val = NORMALIZE_DIC[column]['Min']
|
73 |
max_val = NORMALIZE_DIC[column]['Max']
|