Spaces:
Running
Running
James McCool
commited on
Commit
·
10e5388
1
Parent(s):
c8ca533
Update LinkColumn configurations in Advanced view to standardize display text as 'PD Subs Only' for Player, Team, and ownership metrics
Browse files
app.py
CHANGED
@@ -475,17 +475,20 @@ with tab2:
|
|
475 |
"Player": st.column_config.LinkColumn(
|
476 |
"Player",
|
477 |
max_chars=25,
|
478 |
-
help="The Player being projected"
|
|
|
479 |
),
|
480 |
"Team": st.column_config.LinkColumn(
|
481 |
"Team",
|
482 |
max_chars=25,
|
483 |
-
help="The Team of the Player"
|
|
|
484 |
),
|
485 |
"Own%": st.column_config.LinkColumn(
|
486 |
"Own%",
|
487 |
max_chars=25,
|
488 |
-
help="The projected ownership of the Player being projected"
|
|
|
489 |
)
|
490 |
}, height=750, use_container_width = True, hide_index = True)
|
491 |
except:
|
@@ -494,17 +497,20 @@ with tab2:
|
|
494 |
"Player": st.column_config.LinkColumn(
|
495 |
"Player",
|
496 |
max_chars=25,
|
497 |
-
help="The Player being projected"
|
|
|
498 |
),
|
499 |
"Team": st.column_config.LinkColumn(
|
500 |
"Team",
|
501 |
max_chars=25,
|
502 |
-
help="The Team of the Player"
|
|
|
503 |
),
|
504 |
"Own%": st.column_config.LinkColumn(
|
505 |
"Own%",
|
506 |
max_chars=25,
|
507 |
-
help="The projected ownership of the Player being projected"
|
|
|
508 |
)
|
509 |
}, height=750, use_container_width = True, hide_index = True)
|
510 |
|
@@ -518,43 +524,43 @@ with tab2:
|
|
518 |
"Player",
|
519 |
max_chars=25,
|
520 |
help="The Player being projected",
|
521 |
-
display_text="
|
522 |
),
|
523 |
"Team": st.column_config.LinkColumn(
|
524 |
"Team",
|
525 |
max_chars=25,
|
526 |
help="The Team of the Player",
|
527 |
-
display_text="
|
528 |
),
|
529 |
"Salary": st.column_config.LinkColumn(
|
530 |
"Salary",
|
531 |
max_chars=25,
|
532 |
help="The Salary of the Player",
|
533 |
-
display_text="
|
534 |
),
|
535 |
"Own%": st.column_config.LinkColumn(
|
536 |
"Own%",
|
537 |
max_chars=25,
|
538 |
help="The projected ownership of the Player being projected",
|
539 |
-
display_text="
|
540 |
),
|
541 |
"Small Field Own%": st.column_config.LinkColumn(
|
542 |
"Small Field Own%",
|
543 |
max_chars=25,
|
544 |
help="The projected ownership of the Player being projected in smaller/sharper fields",
|
545 |
-
display_text="
|
546 |
),
|
547 |
"Large Field Own%": st.column_config.LinkColumn(
|
548 |
"Large Field Own%",
|
549 |
max_chars=25,
|
550 |
help="The projected ownership of the Player being projected in larger/softer fields",
|
551 |
-
display_text="
|
552 |
),
|
553 |
"Cash Own%": st.column_config.LinkColumn(
|
554 |
"Cash Own%",
|
555 |
max_chars=25,
|
556 |
help="The projected ownership of the Player being projected for cash games",
|
557 |
-
display_text="
|
558 |
)
|
559 |
}, height=750, use_container_width = True, hide_index = True)
|
560 |
except:
|
@@ -564,43 +570,43 @@ with tab2:
|
|
564 |
"Player",
|
565 |
max_chars=25,
|
566 |
help="The Player being projected",
|
567 |
-
display_text="
|
568 |
),
|
569 |
"Team": st.column_config.LinkColumn(
|
570 |
"Team",
|
571 |
max_chars=25,
|
572 |
help="The Team of the Player",
|
573 |
-
display_text="
|
574 |
),
|
575 |
"Salary": st.column_config.LinkColumn(
|
576 |
"Salary",
|
577 |
max_chars=25,
|
578 |
help="The Salary of the Player",
|
579 |
-
display_text="
|
580 |
),
|
581 |
"Own%": st.column_config.LinkColumn(
|
582 |
"Own%",
|
583 |
max_chars=25,
|
584 |
help="The projected ownership of the Player being projected",
|
585 |
-
display_text="
|
586 |
),
|
587 |
"Small Field Own%": st.column_config.LinkColumn(
|
588 |
"Small Field Own%",
|
589 |
max_chars=25,
|
590 |
help="The projected ownership of the Player being projected in smaller/sharper fields",
|
591 |
-
display_text="
|
592 |
),
|
593 |
"Large Field Own%": st.column_config.LinkColumn(
|
594 |
"Large Field Own%",
|
595 |
max_chars=25,
|
596 |
help="The projected ownership of the Player being projected in larger/softer fields",
|
597 |
-
display_text="
|
598 |
),
|
599 |
"Cash Own%": st.column_config.LinkColumn(
|
600 |
"Cash Own%",
|
601 |
max_chars=25,
|
602 |
help="The projected ownership of the Player being projected for cash games",
|
603 |
-
display_text="
|
604 |
)
|
605 |
}, height=750, use_container_width = True, hide_index = True)
|
606 |
|
|
|
475 |
"Player": st.column_config.LinkColumn(
|
476 |
"Player",
|
477 |
max_chars=25,
|
478 |
+
help="The Player being projected",
|
479 |
+
display_text="PD Subs Only"
|
480 |
),
|
481 |
"Team": st.column_config.LinkColumn(
|
482 |
"Team",
|
483 |
max_chars=25,
|
484 |
+
help="The Team of the Player",
|
485 |
+
display_text="PD Subs Only"
|
486 |
),
|
487 |
"Own%": st.column_config.LinkColumn(
|
488 |
"Own%",
|
489 |
max_chars=25,
|
490 |
+
help="The projected ownership of the Player being projected",
|
491 |
+
display_text="PD Subs Only"
|
492 |
)
|
493 |
}, height=750, use_container_width = True, hide_index = True)
|
494 |
except:
|
|
|
497 |
"Player": st.column_config.LinkColumn(
|
498 |
"Player",
|
499 |
max_chars=25,
|
500 |
+
help="The Player being projected",
|
501 |
+
display_text="PD Subs Only"
|
502 |
),
|
503 |
"Team": st.column_config.LinkColumn(
|
504 |
"Team",
|
505 |
max_chars=25,
|
506 |
+
help="The Team of the Player",
|
507 |
+
display_text="PD Subs Only"
|
508 |
),
|
509 |
"Own%": st.column_config.LinkColumn(
|
510 |
"Own%",
|
511 |
max_chars=25,
|
512 |
+
help="The projected ownership of the Player being projected",
|
513 |
+
display_text="PD Subs Only"
|
514 |
)
|
515 |
}, height=750, use_container_width = True, hide_index = True)
|
516 |
|
|
|
524 |
"Player",
|
525 |
max_chars=25,
|
526 |
help="The Player being projected",
|
527 |
+
display_text="PD Subs Only"
|
528 |
),
|
529 |
"Team": st.column_config.LinkColumn(
|
530 |
"Team",
|
531 |
max_chars=25,
|
532 |
help="The Team of the Player",
|
533 |
+
display_text="PD Subs Only"
|
534 |
),
|
535 |
"Salary": st.column_config.LinkColumn(
|
536 |
"Salary",
|
537 |
max_chars=25,
|
538 |
help="The Salary of the Player",
|
539 |
+
display_text="PD Subs Only"
|
540 |
),
|
541 |
"Own%": st.column_config.LinkColumn(
|
542 |
"Own%",
|
543 |
max_chars=25,
|
544 |
help="The projected ownership of the Player being projected",
|
545 |
+
display_text="PD Subs Only"
|
546 |
),
|
547 |
"Small Field Own%": st.column_config.LinkColumn(
|
548 |
"Small Field Own%",
|
549 |
max_chars=25,
|
550 |
help="The projected ownership of the Player being projected in smaller/sharper fields",
|
551 |
+
display_text="PD Subs Only"
|
552 |
),
|
553 |
"Large Field Own%": st.column_config.LinkColumn(
|
554 |
"Large Field Own%",
|
555 |
max_chars=25,
|
556 |
help="The projected ownership of the Player being projected in larger/softer fields",
|
557 |
+
display_text="PD Subs Only"
|
558 |
),
|
559 |
"Cash Own%": st.column_config.LinkColumn(
|
560 |
"Cash Own%",
|
561 |
max_chars=25,
|
562 |
help="The projected ownership of the Player being projected for cash games",
|
563 |
+
display_text="PD Subs Only"
|
564 |
)
|
565 |
}, height=750, use_container_width = True, hide_index = True)
|
566 |
except:
|
|
|
570 |
"Player",
|
571 |
max_chars=25,
|
572 |
help="The Player being projected",
|
573 |
+
display_text="PD Subs Only"
|
574 |
),
|
575 |
"Team": st.column_config.LinkColumn(
|
576 |
"Team",
|
577 |
max_chars=25,
|
578 |
help="The Team of the Player",
|
579 |
+
display_text="PD Subs Only"
|
580 |
),
|
581 |
"Salary": st.column_config.LinkColumn(
|
582 |
"Salary",
|
583 |
max_chars=25,
|
584 |
help="The Salary of the Player",
|
585 |
+
display_text="PD Subs Only"
|
586 |
),
|
587 |
"Own%": st.column_config.LinkColumn(
|
588 |
"Own%",
|
589 |
max_chars=25,
|
590 |
help="The projected ownership of the Player being projected",
|
591 |
+
display_text="PD Subs Only"
|
592 |
),
|
593 |
"Small Field Own%": st.column_config.LinkColumn(
|
594 |
"Small Field Own%",
|
595 |
max_chars=25,
|
596 |
help="The projected ownership of the Player being projected in smaller/sharper fields",
|
597 |
+
display_text="PD Subs Only"
|
598 |
),
|
599 |
"Large Field Own%": st.column_config.LinkColumn(
|
600 |
"Large Field Own%",
|
601 |
max_chars=25,
|
602 |
help="The projected ownership of the Player being projected in larger/softer fields",
|
603 |
+
display_text="PD Subs Only"
|
604 |
),
|
605 |
"Cash Own%": st.column_config.LinkColumn(
|
606 |
"Cash Own%",
|
607 |
max_chars=25,
|
608 |
help="The projected ownership of the Player being projected for cash games",
|
609 |
+
display_text="PD Subs Only"
|
610 |
)
|
611 |
}, height=750, use_container_width = True, hide_index = True)
|
612 |
|