Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -401,20 +401,7 @@ with tab7:
|
|
401 |
worksheet.update([export_df.columns.values.tolist()] + export_df.values.tolist())
|
402 |
|
403 |
|
404 |
-
st.write("Uploaded Master Schedule
|
405 |
-
|
406 |
-
# sheet_list = ['W0']
|
407 |
-
counter = 0
|
408 |
-
|
409 |
-
for sheet_name in sheet_list:
|
410 |
-
export_cull = export_df[export_df['week'] == str(counter)]
|
411 |
-
sh = gc.open_by_url(NCAAF_model_url)
|
412 |
-
worksheet = sh.worksheet(sheet_name)
|
413 |
-
worksheet.batch_clear(['A:P'])
|
414 |
-
worksheet.update([export_cull.columns.values.tolist()] + export_cull.values.tolist())
|
415 |
-
|
416 |
-
counter += 1
|
417 |
-
|
418 |
-
time.sleep(3.76)
|
419 |
|
420 |
st.write("Finished NCAAF Script!")
|
|
|
401 |
worksheet.update([export_df.columns.values.tolist()] + export_df.values.tolist())
|
402 |
|
403 |
|
404 |
+
st.write("Uploaded Master Schedule")
|
405 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
st.write("Finished NCAAF Script!")
|