James McCool
commited on
Commit
·
9c0a74e
1
Parent(s):
de43947
Added print statement to display top 10 team results in NHL function
Browse files
src/sports/nhl_functions.py
CHANGED
|
@@ -463,6 +463,7 @@ def init_team_results(model_source: DataFrame, position_reqs: dict, salary_cap:
|
|
| 463 |
final_df = final_df.sort_values(by='Total_Median', ascending=False)
|
| 464 |
|
| 465 |
# Add to all results
|
|
|
|
| 466 |
all_team_results.append(final_df)
|
| 467 |
|
| 468 |
return all_team_results
|
|
|
|
| 463 |
final_df = final_df.sort_values(by='Total_Median', ascending=False)
|
| 464 |
|
| 465 |
# Add to all results
|
| 466 |
+
print(final_df.head(10))
|
| 467 |
all_team_results.append(final_df)
|
| 468 |
|
| 469 |
return all_team_results
|