Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -338,7 +338,6 @@ async def add_exp(member_id):
|
|
338 |
copy_df['discord_user_id'] = copy_df['discord_user_id'].astype(str).str.strip('L')
|
339 |
print("After processing discord_user_id:\n", copy_df['discord_user_id'].head())
|
340 |
print("Data type of discord_user_id:", copy_df['discord_user_id'].dtype)
|
341 |
-
print("Data type of member_id:", member_id.dtype)
|
342 |
|
343 |
# NaN -> 0
|
344 |
copy_df['total_exp'] = copy_df['total_exp'].fillna(0)
|
|
|
338 |
copy_df['discord_user_id'] = copy_df['discord_user_id'].astype(str).str.strip('L')
|
339 |
print("After processing discord_user_id:\n", copy_df['discord_user_id'].head())
|
340 |
print("Data type of discord_user_id:", copy_df['discord_user_id'].dtype)
|
|
|
341 |
|
342 |
# NaN -> 0
|
343 |
copy_df['total_exp'] = copy_df['total_exp'].fillna(0)
|