James McCool
commited on
Commit
·
9326be6
1
Parent(s):
449b18d
ping
Browse files
global_func/get_portfolio_names.py
CHANGED
|
@@ -14,7 +14,6 @@ def get_portfolio_names(portfolio_df):
|
|
| 14 |
Returns:
|
| 15 |
list: List of unique player names
|
| 16 |
"""
|
| 17 |
-
# Get columns that contain player names (excluding non-player columns)
|
| 18 |
player_columns = [col for col in portfolio_df.columns
|
| 19 |
if col not in ['salary', 'median', 'Own', 'Dupes', 'Stack', 'Size', 'Finish%', 'Finish_percentile', 'Win%', 'Edge', 'Lineup Edge', 'Weighted Own', 'Geomean', 'Diversity', 'SE Score']]
|
| 20 |
|
|
|
|
| 14 |
Returns:
|
| 15 |
list: List of unique player names
|
| 16 |
"""
|
|
|
|
| 17 |
player_columns = [col for col in portfolio_df.columns
|
| 18 |
if col not in ['salary', 'median', 'Own', 'Dupes', 'Stack', 'Size', 'Finish%', 'Finish_percentile', 'Win%', 'Edge', 'Lineup Edge', 'Weighted Own', 'Geomean', 'Diversity', 'SE Score']]
|
| 19 |
|