ahmedheakl commited on
Commit
cb50a24
1 Parent(s): aa9bb5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ data = {
32
  }
33
 
34
  df = pd.DataFrame(data)
35
- df['Average Score'] = df.iloc[:, 1:].mean(axis=1)
 
36
 
37
  def display_data():
38
  return df
 
32
  }
33
 
34
  df = pd.DataFrame(data)
35
+ df['Average Score'] = df.iloc[:, 1:].mean(axis=1).round(2)
36
+ df = df[['Average Score'] + [col for col in df.columns if col != 'Average Score']]
37
 
38
  def display_data():
39
  return df