James McCool commited on
Commit
0e7b119
·
1 Parent(s): 583a033

Add debug print statement to exposure_spread function to display combined salary of selected players, aiding in tracking salary constraints during exposure calculations.

Browse files
Files changed (1) hide show
  1. global_func/exposure_spread.py +1 -0
global_func/exposure_spread.py CHANGED
@@ -353,6 +353,7 @@ def exposure_spread(working_frame, exposure_player, exposure_target, exposure_st
353
  row_data = working_frame.iloc[row]
354
  for col in working_frame.columns:
355
  if row_data[col] in comparable_player_list:
 
356
  if working_frame.iloc[row]['salary'] + projections_df[projections_df['player_names'] == row_data[col]]['salary'].iloc[0] <= salary_max:
357
  print(row_data[col])
358
  # Get the replacement player's positions
 
353
  row_data = working_frame.iloc[row]
354
  for col in working_frame.columns:
355
  if row_data[col] in comparable_player_list:
356
+ print(working_frame.iloc[row]['salary'] + projections_df[projections_df['player_names'] == row_data[col]]['salary'].iloc[0])
357
  if working_frame.iloc[row]['salary'] + projections_df[projections_df['player_names'] == row_data[col]]['salary'].iloc[0] <= salary_max:
358
  print(row_data[col])
359
  # Get the replacement player's positions