reach-vb HF staff commited on
Commit
97031ba
1 Parent(s): f05451f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -32,7 +32,10 @@ original_df = pd.read_csv(csv_results)
32
 
33
  # Formats the columns
34
  def formatter(x):
35
- x = round(x, 2)
 
 
 
36
  return x
37
 
38
  for col in original_df.columns:
 
32
 
33
  # Formats the columns
34
  def formatter(x):
35
+ if type(x) == "str":
36
+ x = x
37
+ else:
38
+ x = round(x, 2)
39
  return x
40
 
41
  for col in original_df.columns: