Spaces:
Sleeping
Sleeping
James McCool commited on
Commit ·
b9c17d0
1
Parent(s): 9628f53
Update position lock mapping in Streamlit app to use scoring ranks instead of position designations, enhancing accuracy in player evaluations and ensuring correct player rankings are displayed.
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -449,7 +449,7 @@ def main():
|
|
| 449 |
final_df = assign_vorp_roster(position_df, halfPpr_rv, custom_roster_rv, user_league_settings, user_pos_vorp_limiters)
|
| 450 |
final_df = final_df.drop(columns=['SR_ID'], axis=1)
|
| 451 |
final_df['scoring_rank'] = final_df['Name'].map(orig_rank_dict)
|
| 452 |
-
final_df['pos_lock_name'] = final_df['
|
| 453 |
|
| 454 |
# Display results
|
| 455 |
st.header("Player Rankings")
|
|
|
|
| 449 |
final_df = assign_vorp_roster(position_df, halfPpr_rv, custom_roster_rv, user_league_settings, user_pos_vorp_limiters)
|
| 450 |
final_df = final_df.drop(columns=['SR_ID'], axis=1)
|
| 451 |
final_df['scoring_rank'] = final_df['Name'].map(orig_rank_dict)
|
| 452 |
+
final_df['pos_lock_name'] = final_df['scoring_rank'].map(pos_des_dict)
|
| 453 |
|
| 454 |
# Display results
|
| 455 |
st.header("Player Rankings")
|