File size: 382 Bytes
7128e18
 
 
d823200
b67d7dd
d823200
 
880a36c
 
 
 
d823200
880a36c
b67d7dd
d823200
b67d7dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)