James McCool commited on
Commit
5a1f606
·
1 Parent(s): 443ffa3

Remove debug print statement from DraftKings MMA ROO build process

Browse files
Files changed (1) hide show
  1. function_hold/MMA_functions.py +1 -2
function_hold/MMA_functions.py CHANGED
@@ -25,8 +25,6 @@ def DK_MMA_ROO_Build(projections_file, std_var, distribution_type):
25
  projects_raw['range_initial'] = np_where(projects_raw['KO_odds'] < projects_raw['Sub_odds'], projects_raw['KO_odds'], projects_raw['Sub_odds'])
26
  projects_raw['range_var'] = projects_raw['range_initial'].apply(moneyline_to_probability)
27
 
28
- print(projects_raw)
29
-
30
  dk_df = projects_raw.sort_values(by='Median', ascending=False)
31
 
32
  basic_own_df = dk_df.copy()
@@ -124,6 +122,7 @@ def DK_MMA_ROO_Build(projections_file, std_var, distribution_type):
124
  flex_file['Floor'] = flex_file['Median'] * (1-flex_file['range_var'])
125
  flex_file['Ceiling'] = flex_file['Median'] * (1+flex_file['range_var'])
126
  flex_file['STD'] = (flex_file['Median'] / std_var)
 
127
  flex_file = flex_file[['Player', 'Salary', 'Floor', 'Median', 'Ceiling', 'STD']]
128
  flex_file = flex_file.reset_index(drop=True)
129
  hold_file = flex_file.copy()
 
25
  projects_raw['range_initial'] = np_where(projects_raw['KO_odds'] < projects_raw['Sub_odds'], projects_raw['KO_odds'], projects_raw['Sub_odds'])
26
  projects_raw['range_var'] = projects_raw['range_initial'].apply(moneyline_to_probability)
27
 
 
 
28
  dk_df = projects_raw.sort_values(by='Median', ascending=False)
29
 
30
  basic_own_df = dk_df.copy()
 
122
  flex_file['Floor'] = flex_file['Median'] * (1-flex_file['range_var'])
123
  flex_file['Ceiling'] = flex_file['Median'] * (1+flex_file['range_var'])
124
  flex_file['STD'] = (flex_file['Median'] / std_var)
125
+ print(flex_file)
126
  flex_file = flex_file[['Player', 'Salary', 'Floor', 'Median', 'Ceiling', 'STD']]
127
  flex_file = flex_file.reset_index(drop=True)
128
  hold_file = flex_file.copy()