Spaces:
Running
Running
| import streamlit as st | |
| from repo_directory import Championship_Standings | |
| from repo_directory import button | |
| import numpy as np | |
| import datetime | |
| # select year | |
| # YEAR = st.selectbox( | |
| # 'Select Year', | |
| # list(np.arange(1950,2023))[::-1] | |
| # ) | |
| df = Championship_Standings.get_results() | |
| current_year = datetime.datetime.now().year | |
| Championship_Standings.plot(df, current_year) | |