Spaces:
Running
Running
James McCool
commited on
Commit
·
b8abbd7
1
Parent(s):
6771d0c
Maybe try printing this way:
Browse files- src/streamlit_app.py +2 -3
src/streamlit_app.py
CHANGED
|
@@ -210,9 +210,7 @@ def init_baselines(data_req: str):
|
|
| 210 |
game_rot[col] = game_rot[col].fillna(0)
|
| 211 |
except Exception:
|
| 212 |
pass # Silently continue if stint stats unavailable
|
| 213 |
-
|
| 214 |
-
print(game_rot['stint_id'].head(10))
|
| 215 |
-
print(stint_stats['stint_id'].head(10))
|
| 216 |
return gamelog_table, game_rot, timestamp
|
| 217 |
|
| 218 |
@st.cache_data(show_spinner=False)
|
|
@@ -649,6 +647,7 @@ if selected_tab == 'Game Rotations':
|
|
| 649 |
if st.button("Reset Data", key='reset5'):
|
| 650 |
st.cache_data.clear()
|
| 651 |
gamelog_table, game_rot, timestamp = init_baselines('all')
|
|
|
|
| 652 |
basic_cols = ['Player', 'Pos', 'Team', 'Opp', 'Season', 'Date', 'Matchup', 'Min']
|
| 653 |
basic_season_cols = ['Pos', 'Team', 'Min']
|
| 654 |
data_cols = ['team_score', 'opp_score', 'spread', 'Touches', 'Pts', 'FGM', 'FGA', 'FG%', 'FG3M',
|
|
|
|
| 210 |
game_rot[col] = game_rot[col].fillna(0)
|
| 211 |
except Exception:
|
| 212 |
pass # Silently continue if stint stats unavailable
|
| 213 |
+
|
|
|
|
|
|
|
| 214 |
return gamelog_table, game_rot, timestamp
|
| 215 |
|
| 216 |
@st.cache_data(show_spinner=False)
|
|
|
|
| 647 |
if st.button("Reset Data", key='reset5'):
|
| 648 |
st.cache_data.clear()
|
| 649 |
gamelog_table, game_rot, timestamp = init_baselines('all')
|
| 650 |
+
print(game_rot['stint_id'].head(10))
|
| 651 |
basic_cols = ['Player', 'Pos', 'Team', 'Opp', 'Season', 'Date', 'Matchup', 'Min']
|
| 652 |
basic_season_cols = ['Pos', 'Team', 'Min']
|
| 653 |
data_cols = ['team_score', 'opp_score', 'spread', 'Touches', 'Pts', 'FGM', 'FGA', 'FG%', 'FG3M',
|