Spaces:
Running
Running
tracinginsights
commited on
Commit
•
64140f5
1
Parent(s):
2b6c65f
Update pages/Long_Run_Race_Pace.py
Browse files
pages/Long_Run_Race_Pace.py
CHANGED
@@ -6,15 +6,15 @@ import pandas as pd
|
|
6 |
|
7 |
YEAR_SELECTED = st.selectbox(
|
8 |
'Select Year',
|
9 |
-
(2023, 2022, 2021, 2020, 2019, 2018))
|
10 |
|
11 |
RACE_SELECTED = st.selectbox(
|
12 |
'Select Race',
|
13 |
-
(
|
14 |
|
15 |
SESSION = st.selectbox(
|
16 |
'Select Session',
|
17 |
-
(
|
18 |
|
19 |
laps_df, f1session, drivers = Long_Run_Race_Pace.get_laps(YEAR_SELECTED, RACE_SELECTED, SESSION)
|
20 |
|
|
|
6 |
|
7 |
YEAR_SELECTED = st.selectbox(
|
8 |
'Select Year',
|
9 |
+
(2024, 2023, 2022, 2021, 2020, 2019, 2018))
|
10 |
|
11 |
RACE_SELECTED = st.selectbox(
|
12 |
'Select Race',
|
13 |
+
utils.get_events(YEAR_SELECTED))
|
14 |
|
15 |
SESSION = st.selectbox(
|
16 |
'Select Session',
|
17 |
+
utils.get_sessions(YEAR_SELECTED, RACE_SELECTED))
|
18 |
|
19 |
laps_df, f1session, drivers = Long_Run_Race_Pace.get_laps(YEAR_SELECTED, RACE_SELECTED, SESSION)
|
20 |
|