Spaces:
Running
Running
tracinginsights
commited on
Commit
·
81493a0
1
Parent(s):
92663aa
Update pages/Race_Trace.py
Browse files- pages/Race_Trace.py +3 -4
pages/Race_Trace.py
CHANGED
@@ -5,10 +5,9 @@ import pandas as pd
|
|
5 |
import kaggle
|
6 |
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)
|
12 |
|
13 |
|
14 |
Race_Trace.get_latest_ergast()
|
|
|
5 |
import kaggle
|
6 |
|
7 |
|
8 |
+
# download the files from dataset
|
9 |
+
kaggle.api.authenticate()
|
10 |
+
kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)
|
|
|
11 |
|
12 |
|
13 |
Race_Trace.get_latest_ergast()
|