F1-analysis / pages /Championship_Standings.py
tracinginsights's picture
Update pages/Championship_Standings.py
fdea1ec verified
raw
history blame
305 Bytes
import streamlit as st
from repo_directory.v2 import Championship_Standings
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)