Spaces:
Running
Running
tracinginsights
commited on
Commit
β’
1f6345c
1
Parent(s):
880a36c
Rename pages/Average_Race_Pace to pages/Average_Race_Pace.py
Browse files
pages/{Average_Race_Pace β Average_Race_Pace.py}
RENAMED
@@ -3,6 +3,15 @@ import streamlit as st
|
|
3 |
from repo_directory import Average_Race_Pace
|
4 |
from repo_directory import button
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
Average_Race_Pace.get_latest_ergast()
|
7 |
drivers_df, laps_df, race_names_df, results_df, available_years = Average_Race_Pace.load_data()
|
8 |
|
|
|
3 |
from repo_directory import Average_Race_Pace
|
4 |
from repo_directory import button
|
5 |
|
6 |
+
import pandas as pd
|
7 |
+
import kaggle
|
8 |
+
import os
|
9 |
+
|
10 |
+
kaggle.api.authenticate()
|
11 |
+
kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
Average_Race_Pace.get_latest_ergast()
|
16 |
drivers_df, laps_df, race_names_df, results_df, available_years = Average_Race_Pace.load_data()
|
17 |
|