ouhenio commited on
Commit
eacf514
·
verified ·
1 Parent(s): 6067055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ def get_include_data():
149
  if "Nombre en Discord / username" in include_df.columns and "Número de preguntas / number of questions" in include_df.columns:
150
  discord_users = defaultdict(int)
151
  for _, row in include_df.iterrows():
152
- username = row["Nombre en Discord / username"]
153
  questions = row["Número de preguntas / number of questions"]
154
  if pd.notna(username) and pd.notna(questions):
155
  discord_users[username.lower()] += int(questions)
 
149
  if "Nombre en Discord / username" in include_df.columns and "Número de preguntas / number of questions" in include_df.columns:
150
  discord_users = defaultdict(int)
151
  for _, row in include_df.iterrows():
152
+ username = row["Nombre en Discord / username"][1:]
153
  questions = row["Número de preguntas / number of questions"]
154
  if pd.notna(username) and pd.notna(questions):
155
  discord_users[username.lower()] += int(questions)