Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def init_baselines():
|
|
61 |
gamelog_table['reboundChancesTotal'] = gamelog_table['reboundChancesTotal'].astype(int)
|
62 |
gamelog_table['passes'] = gamelog_table['passes'].astype(int)
|
63 |
gamelog_table['touches'] = gamelog_table['touches'].astype(int)
|
64 |
-
gamelog_table['MIN'] = gamelog_table['
|
65 |
gamelog_table['Fantasy'] = gamelog_table['Fantasy'].astype(float)
|
66 |
gamelog_table['FD_Fantasy'] = gamelog_table['FD_Fantasy'].astype(float)
|
67 |
gamelog_table['rebound%'] = gamelog_table['REB'] / gamelog_table['reboundChancesTotal']
|
@@ -351,7 +351,7 @@ with tab3:
|
|
351 |
|
352 |
team_var3 = st.multiselect('Which opponent would you like to view?', options = total_teams, key='team_var3')
|
353 |
pos_var3 = st.selectbox('Which position would you like to view?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var3')
|
354 |
-
date_var3 = st.radio("Would you like to view all dates or specific ones?", ('All', 'Specific Dates'), key='
|
355 |
|
356 |
if date_var3 == 'Specific Dates':
|
357 |
low_date3 = st.date_input('Min Date:', value=None, format="YYYY-MM-DD", key='low_date3')
|
|
|
61 |
gamelog_table['reboundChancesTotal'] = gamelog_table['reboundChancesTotal'].astype(int)
|
62 |
gamelog_table['passes'] = gamelog_table['passes'].astype(int)
|
63 |
gamelog_table['touches'] = gamelog_table['touches'].astype(int)
|
64 |
+
gamelog_table['MIN'] = gamelog_table['MIN'].astype(float)
|
65 |
gamelog_table['Fantasy'] = gamelog_table['Fantasy'].astype(float)
|
66 |
gamelog_table['FD_Fantasy'] = gamelog_table['FD_Fantasy'].astype(float)
|
67 |
gamelog_table['rebound%'] = gamelog_table['REB'] / gamelog_table['reboundChancesTotal']
|
|
|
351 |
|
352 |
team_var3 = st.multiselect('Which opponent would you like to view?', options = total_teams, key='team_var3')
|
353 |
pos_var3 = st.selectbox('Which position would you like to view?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var3')
|
354 |
+
date_var3 = st.radio("Would you like to view all dates or specific ones?", ('All', 'Specific Dates'), key='date_var3')
|
355 |
|
356 |
if date_var3 == 'Specific Dates':
|
357 |
low_date3 = st.date_input('Min Date:', value=None, format="YYYY-MM-DD", key='low_date3')
|