Spaces:
Sleeping
Sleeping
Jimin Park
commited on
Commit
·
4ed5bb1
1
Parent(s):
132b34b
kermitting soon
Browse files- util/app_training_df_getter.py +2 -2
- util/helper.py +3 -0
util/app_training_df_getter.py
CHANGED
@@ -354,8 +354,8 @@ def create_champion_features_and_return_df(merged_player_stats=None, meta_stats=
|
|
354 |
|
355 |
def create_app_user_training_df(url):
|
356 |
try:
|
357 |
-
meta_stats = get_meta_stats()
|
358 |
-
weekly_meta_stats = get_weekly_meta()
|
359 |
|
360 |
# Input validation
|
361 |
if not url or not isinstance(url, str):
|
|
|
354 |
|
355 |
def create_app_user_training_df(url):
|
356 |
try:
|
357 |
+
#meta_stats = get_meta_stats()
|
358 |
+
#weekly_meta_stats = get_weekly_meta()
|
359 |
|
360 |
# Input validation
|
361 |
if not url or not isinstance(url, str):
|
util/helper.py
CHANGED
@@ -901,7 +901,10 @@ def calculate_role_specialization(df):
|
|
901 |
return df
|
902 |
|
903 |
def calculate_champion_loyalty(df):
|
|
|
904 |
df = df.copy()
|
|
|
|
|
905 |
|
906 |
def get_loyalty_scores(row):
|
907 |
try:
|
|
|
901 |
return df
|
902 |
|
903 |
def calculate_champion_loyalty(df):
|
904 |
+
print("========================== Inside: calculate_champion_loyalty ====================\n")
|
905 |
df = df.copy()
|
906 |
+
print("df.dtypes: ", df.dtypes, "\n")
|
907 |
+
|
908 |
|
909 |
def get_loyalty_scores(row):
|
910 |
try:
|