cdminix commited on
Commit
5bc5b10
1 Parent(s): ad01db8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ except Exception:
137
  def rounded_df(df):
138
  df = df.copy()
139
  for col in df.columns:
140
- if isinstance(col.values[0], float):
141
  df[col] = df[col].apply(lambda x: round(x, 2))
142
  return df
143
 
 
137
  def rounded_df(df):
138
  df = df.copy()
139
  for col in df.columns:
140
+ if isinstance(df[col].values[0], float):
141
  df[col] = df[col].apply(lambda x: round(x, 2))
142
  return df
143