We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81aae95 commit f7c73f5Copy full SHA for f7c73f5
airsenal/framework/prediction_utils.py
@@ -314,15 +314,13 @@ def get_def_con_points(
314
must be changed together.
315
"""
316
if minutes >= 60 and player_id in df_def_con[0].index:
317
- print("Def cons points for", player_id, df_def_con[0].loc[player_id]) # DEBUG
318
return df_def_con[0].loc[player_id]
319
if (
320
minutes >= 60
321
or (minutes >= 30 and player_id not in df_def_con[1].index)
322
or minutes < 30
323
):
324
return 0
325
- print("Def cons points for", player_id, df_def_con[1].loc[player_id]) # DEBUG
326
return df_def_con[1].loc[player_id]
327
328
0 commit comments