F1-analysis / pages /Championship_Standings.py
tracinginsights's picture
Update pages/Championship_Standings.py
d823200
raw
history blame
294 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',
np.arange(2022,1950))
df = Championship_Standings.get_results(YEAR)
Championship_Standings.plot(df, YEAR)