tidied scores when under 10, due to html table sorting

This commit is contained in:
jake-fawcett 2023-12-04 22:25:06 +00:00
parent 574cb795d8
commit e83c463d89

View File

@ -77,6 +77,7 @@ def calc_role_scores(player_df: pd.DataFrame, attribute_df: pd.DataFrame) -> pd.
except Exception as e: # Used to Nat being used twice (Nationality and Natural Fitness)
print(e)
continue
player_df.loc[player_df[role] < 10, role] = 0
return player_df