Update app.py
Browse files
app.py
CHANGED
@@ -261,11 +261,6 @@ st.header("Analytics & Comparisons")
|
|
261 |
analytics_option = st.selectbox("Choose an analysis type:", ["Team Workload Analysis", "Match Distribution", "Inter-Conference Match Analysis", "Commissioner Analytics"])
|
262 |
st.session_state.historical_data['Date'] = pd.to_datetime(st.session_state.historical_data['Date'])
|
263 |
|
264 |
-
if st.session_state.schedule_df is not None:
|
265 |
-
# Call the analytics functions here
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
if analytics_option == "Team Workload Analysis":
|
270 |
st.subheader("Historical Data")
|
271 |
st.pyplot(team_workload_analysis(st.session_state.historical_data))
|
|
|
261 |
analytics_option = st.selectbox("Choose an analysis type:", ["Team Workload Analysis", "Match Distribution", "Inter-Conference Match Analysis", "Commissioner Analytics"])
|
262 |
st.session_state.historical_data['Date'] = pd.to_datetime(st.session_state.historical_data['Date'])
|
263 |
|
|
|
|
|
|
|
|
|
|
|
264 |
if analytics_option == "Team Workload Analysis":
|
265 |
st.subheader("Historical Data")
|
266 |
st.pyplot(team_workload_analysis(st.session_state.historical_data))
|