Multichem commited on
Commit
689500a
1 Parent(s): d297b08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -71,6 +71,7 @@ def init_baselines():
71
  load_display = pd.DataFrame(worksheet.get_all_records())
72
  load_display.replace('', np.nan, inplace=True)
73
  load_display['STDev'] = load_display['Median'] / 3
 
74
 
75
  dk_raw = load_display.dropna(subset=['Median'])
76
 
@@ -78,6 +79,7 @@ def init_baselines():
78
  load_display = pd.DataFrame(worksheet.get_all_records())
79
  load_display.replace('', np.nan, inplace=True)
80
  load_display['STDev'] = load_display['Median'] / 3
 
81
 
82
  fd_raw = load_display.dropna(subset=['Median'])
83
 
 
71
  load_display = pd.DataFrame(worksheet.get_all_records())
72
  load_display.replace('', np.nan, inplace=True)
73
  load_display['STDev'] = load_display['Median'] / 3
74
+ load_display = load_display.drop_duplicates(subset=['Player'], keep='first')
75
 
76
  dk_raw = load_display.dropna(subset=['Median'])
77
 
 
79
  load_display = pd.DataFrame(worksheet.get_all_records())
80
  load_display.replace('', np.nan, inplace=True)
81
  load_display['STDev'] = load_display['Median'] / 3
82
+ load_display = load_display.drop_duplicates(subset=['Player'], keep='first')
83
 
84
  fd_raw = load_display.dropna(subset=['Median'])
85