F1-analysis / pages /Championship_Standings.py
tracinginsights's picture
Update pages/Championship_Standings.py
9e1b4c6
raw
history blame
311 Bytes
import streamlit as st
from repo_directory import Championship_Standings
from repo_directory import button
import numpy as np
# select year
YEAR = st.selectbox(
'Select Year',
list(np.arange(1950,2023))[::-1]
)
df = Championship_Standings.get_results(YEAR)
Championship_Standings.plot(df, YEAR)