Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -600,7 +600,7 @@ def server(input, output, session):
|
|
| 600 |
|
| 601 |
# List of desired columns, including RHP and LHP
|
| 602 |
desired_columns = [
|
| 603 |
-
|
| 604 |
'C', '1B', '2B', '3B', 'SS', 'LF', 'CF', 'RF', 'DH', 'LHP', 'RHP'
|
| 605 |
]
|
| 606 |
|
|
@@ -615,7 +615,7 @@ def server(input, output, session):
|
|
| 615 |
|
| 616 |
# Define your mapping for hierarchical columns.
|
| 617 |
cols = {
|
| 618 |
-
('Player Info', 'Player ID'): 'Player ID',
|
| 619 |
('Player Info', 'Batter'): 'Batter',
|
| 620 |
('Player Info', 'Bats'): 'Bats',
|
| 621 |
('Player Info', 'GP'): 'GP',
|
|
|
|
| 600 |
|
| 601 |
# List of desired columns, including RHP and LHP
|
| 602 |
desired_columns = [
|
| 603 |
+
'Batter', 'Bats', 'GP', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
| 604 |
'C', '1B', '2B', '3B', 'SS', 'LF', 'CF', 'RF', 'DH', 'LHP', 'RHP'
|
| 605 |
]
|
| 606 |
|
|
|
|
| 615 |
|
| 616 |
# Define your mapping for hierarchical columns.
|
| 617 |
cols = {
|
| 618 |
+
# ('Player Info', 'Player ID'): 'Player ID',
|
| 619 |
('Player Info', 'Batter'): 'Batter',
|
| 620 |
('Player Info', 'Bats'): 'Bats',
|
| 621 |
('Player Info', 'GP'): 'GP',
|