F1-analysis / pages /Championship_Standings.py
tracinginsights's picture
Update pages/Championship_Standings.py
ac446e2 verified
raw
history blame
312 Bytes
import streamlit as st
from repo_directory.v2 import Championship_Standings, utils
from repo_directory import button
import numpy as np
import datetime
current_year = datetime.datetime.now().year
df = Championship_Standings.get_f1_drivers_standings(current_year)
Championship_Standings.plot(df, current_year)