tracinginsights commited on
Commit
64140f5
1 Parent(s): 2b6c65f

Update pages/Long_Run_Race_Pace.py

Browse files
Files changed (1) hide show
  1. pages/Long_Run_Race_Pace.py +3 -3
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
- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23))
14
 
15
  SESSION = st.selectbox(
16
  'Select Session',
17
- ('FP1', 'FP2', 'FP3', 'Q', 'SQ', 'R'))
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