Spaces:
Runtime error
Runtime error
working version exists; Issue is keeping consistent formatting between dataframe / google sheets
Browse files
app.py
CHANGED
|
@@ -73,6 +73,7 @@ def update_google_sheet():
|
|
| 73 |
print("test")
|
| 74 |
name = "levelbot"
|
| 75 |
worksheet = gspread_bot.open(name).sheet1
|
|
|
|
| 76 |
set_with_dataframe(worksheet, global_df)
|
| 77 |
print({f"Google sheet {name} successfully updated!"})
|
| 78 |
|
|
|
|
| 73 |
print("test")
|
| 74 |
name = "levelbot"
|
| 75 |
worksheet = gspread_bot.open(name).sheet1
|
| 76 |
+
global_df['discord_user_id'] = global_df['discord_user_id'].astype(str)
|
| 77 |
set_with_dataframe(worksheet, global_df)
|
| 78 |
print({f"Google sheet {name} successfully updated!"})
|
| 79 |
|