lunarflu HF staff commited on
Commit
5fc7c16
·
verified ·
1 Parent(s): 4f19e81
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -336,6 +336,13 @@ async def remove_huggingfolks():
336
  community_global_df = community_global_df[community_global_df.iloc[:, 0] != str(member_id)]
337
 
338
  print(community_global_df)
 
 
 
 
 
 
 
339
 
340
  except Exception as e:
341
  print(f"remove_huggingfolks Error: {e}")
 
336
  community_global_df = community_global_df[community_global_df.iloc[:, 0] != str(member_id)]
337
 
338
  print(community_global_df)
339
+
340
+ community_global_df['discord_exp'] = pd.to_numeric(community_global_df['discord_exp'])
341
+ top_30_exp = community_global_df.nlargest(30, 'discord_exp')
342
+ top_30_rows = top_30_exp.values.tolist()
343
+
344
+ print(top_30_rows)
345
+
346
 
347
  except Exception as e:
348
  print(f"remove_huggingfolks Error: {e}")