Vineedhar commited on
Commit
4a92960
·
verified ·
1 Parent(s): b5cddd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -165,10 +165,10 @@ if uploaded_file is not None:
165
  colleague['Colleague_score'] = colleague['Dimensions'].map(mappings['Colleague_score'])
166
  other_colleague['Other_colleague_score'] = other_colleague['Dimensions'].map(mappings['Other_colleague_score'])
167
 
168
- boss = boss.sort_values(by = 'Boss_score', ascending = False).reset_index()
169
- direct = direct.sort_values(by = 'Report_score', ascending = False).reset_index()
170
- colleague = colleague.sort_values(by = 'Colleague_score', ascending = False).reset_index()
171
- other_colleague = other_colleague.sort_values(by = 'Other_colleague_score', ascending = False).reset_index()
172
 
173
 
174
  boss_json = boss.iloc[:,1:].head(3).to_dict(orient='records')
 
165
  colleague['Colleague_score'] = colleague['Dimensions'].map(mappings['Colleague_score'])
166
  other_colleague['Other_colleague_score'] = other_colleague['Dimensions'].map(mappings['Other_colleague_score'])
167
 
168
+ boss = boss.sort_values(by = 'Boss_score', ascending = False).reset_index(drop = True)
169
+ direct = direct.sort_values(by = 'Report_score', ascending = False).reset_index(drop = True)
170
+ colleague = colleague.sort_values(by = 'Colleague_score', ascending = False).reset_index(drop = True)
171
+ other_colleague = other_colleague.sort_values(by = 'Other_colleague_score', ascending = False).reset_index(drop = True)
172
 
173
 
174
  boss_json = boss.iloc[:,1:].head(3).to_dict(orient='records')