Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,9 @@ with col1:
|
|
163 |
|
164 |
if split_var3 == 'Specific Dates':
|
165 |
low_date = st.date_input('Min Date:', value=None, format="YYYY-MM-DD", key='low_date')
|
|
|
166 |
high_date = st.date_input('Max Date:', value=None, format="YYYY-MM-DD", key='high_date')
|
|
|
167 |
elif split_var3 == 'All':
|
168 |
low_date = gamelog_table['Date'].min()
|
169 |
high_date = gamelog_table['Date'].max()
|
|
|
163 |
|
164 |
if split_var3 == 'Specific Dates':
|
165 |
low_date = st.date_input('Min Date:', value=None, format="YYYY-MM-DD", key='low_date')
|
166 |
+
low_date = pd.to_datetime(low_date).date()
|
167 |
high_date = st.date_input('Max Date:', value=None, format="YYYY-MM-DD", key='high_date')
|
168 |
+
high_date = pd.to_datetime(high_date).date()
|
169 |
elif split_var3 == 'All':
|
170 |
low_date = gamelog_table['Date'].min()
|
171 |
high_date = gamelog_table['Date'].max()
|