Spaces:
Sleeping
Sleeping
Jimin Park
commited on
Commit
·
3272247
1
Parent(s):
c5a304c
kermitting soon
Browse files- util/helper.py +1 -1
util/helper.py
CHANGED
@@ -951,7 +951,7 @@ def calculate_champion_loyalty(df):
|
|
951 |
|
952 |
# Calculate games played for recent champions (only top 2)
|
953 |
print("Start calculate games played for recent champions (only top 2)...\n")
|
954 |
-
print("row['W_1'] type: ", type(row['W_1']), "\n row['W_1']: ", row['W_1'], "\n ")
|
955 |
print("row['L_1'] type: ", type(row['L_1']), "\n row['L_1']: ", row['L_1'], "\n")
|
956 |
recent_games = [
|
957 |
(row['W_1'] + row['L_1']) if pd.notna(row['most_champ_1']) else 0,
|
|
|
951 |
|
952 |
# Calculate games played for recent champions (only top 2)
|
953 |
print("Start calculate games played for recent champions (only top 2)...\n")
|
954 |
+
print("row['W_1'] type: ", type(row['W_1']), "\n row['W_1']: ", row['W_1'], "\n ")
|
955 |
print("row['L_1'] type: ", type(row['L_1']), "\n row['L_1']: ", row['L_1'], "\n")
|
956 |
recent_games = [
|
957 |
(row['W_1'] + row['L_1']) if pd.notna(row['most_champ_1']) else 0,
|