Spaces:
Running
Running
Commit
•
d823200
1
Parent(s):
9f864b4
Update pages/Championship_Standings.py
Browse files
pages/Championship_Standings.py
CHANGED
@@ -1,6 +1,14 @@
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Championship_Standings
|
3 |
from repo_directory import button
|
|
|
4 |
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Championship_Standings
|
3 |
from repo_directory import button
|
4 |
+
import numpy as np
|
5 |
|
6 |
+
|
7 |
+
# select year
|
8 |
+
YEAR = st.selectbox(
|
9 |
+
'Select Year',
|
10 |
+
np.arange(2022,1950))
|
11 |
+
|
12 |
+
df = Championship_Standings.get_results(YEAR)
|
13 |
+
|
14 |
+
Championship_Standings.plot(df, YEAR)
|