Spaces:
Runtime error
Runtime error
Jon Solow commited on
Commit ·
9e44773
1
Parent(s): 2c4c424
Use or on the columns
Browse files
src/pages/3_Draft_View.py
CHANGED
|
@@ -225,9 +225,8 @@ def get_page():
|
|
| 225 |
)
|
| 226 |
|
| 227 |
keepers_fp_id_list = [load_yahoo_to_fp_id_map().get(x, x) for x in HARDCODED_KEEPERS_YAHOO_ID.get(SEASON, [])]
|
| 228 |
-
ecr_with_draft["is_drafted"] = ecr_with_draft.
|
| 229 |
-
|
| 230 |
-
, axis=1
|
| 231 |
)
|
| 232 |
|
| 233 |
# depth_charts = load_depth_charts()
|
|
|
|
| 225 |
)
|
| 226 |
|
| 227 |
keepers_fp_id_list = [load_yahoo_to_fp_id_map().get(x, x) for x in HARDCODED_KEEPERS_YAHOO_ID.get(SEASON, [])]
|
| 228 |
+
ecr_with_draft["is_drafted"] = ecr_with_draft["fp_id"].notna() | ecr_with_draft["player_id"].isin(
|
| 229 |
+
keepers_fp_id_list
|
|
|
|
| 230 |
)
|
| 231 |
|
| 232 |
# depth_charts = load_depth_charts()
|