Multichem commited on
Commit
2e39e3e
1 Parent(s): 958e2d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -15
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, now uploading weeks")
405
- sheet_list = ['W0', 'W1', 'W2', 'W3', 'W4', 'W5', 'W6', 'W7', 'W8', 'W9', 'W10', 'W11', 'W12', 'W13', 'W14']
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!")