Multichem commited on
Commit
d3b79de
·
1 Parent(s): d1ba1b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -292,10 +292,10 @@ with tab3:
292
 
293
  if site_var1 == 'Draftkings':
294
  ownframe = raw_baselines.copy()
295
- ownframe['Own'] = ownframe['Own'] * (500 / ownframe['Own%'].sum())
296
  elif site_var1 == 'Fanduel':
297
  ownframe = raw_baselines.copy()
298
- ownframe['Own'] = ownframe['Own'] * (400 / ownframe['Own%'].sum())
299
 
300
  export_baselines = ownframe[['Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', 'Own']]
301
  export_baselines['CPT_Proj'] = export_baselines['Median'] * 1.5
 
292
 
293
  if site_var1 == 'Draftkings':
294
  ownframe = raw_baselines.copy()
295
+ ownframe['Own'] = ownframe['Own'] * (500 / ownframe['Own'].sum())
296
  elif site_var1 == 'Fanduel':
297
  ownframe = raw_baselines.copy()
298
+ ownframe['Own'] = ownframe['Own'] * (400 / ownframe['Own'].sum())
299
 
300
  export_baselines = ownframe[['Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', 'Own']]
301
  export_baselines['CPT_Proj'] = export_baselines['Median'] * 1.5