Spaces:
Running
Running
tracinginsights
commited on
Commit
·
43b66bf
1
Parent(s):
ad1101b
Update pages/Race_Launch_Performance_Ratings.py
Browse files
pages/Race_Launch_Performance_Ratings.py
CHANGED
@@ -23,7 +23,9 @@ DRIVERS_REMOVED = st.multiselect(
|
|
23 |
# # remove Driver = 'ZHO' from laps due to pit lane start
|
24 |
# laps = laps[~laps["Driver"].isin(DRIVERS_REMOVED)]
|
25 |
|
26 |
-
REMAINING_DRIVERS = drivers.tolist() - DRIVERS_REMOVED
|
|
|
|
|
27 |
|
28 |
ratings_df = rl.get_ratings(laps, drivers, reaction_df, REMAINING_DRIVERS)
|
29 |
|
|
|
23 |
# # remove Driver = 'ZHO' from laps due to pit lane start
|
24 |
# laps = laps[~laps["Driver"].isin(DRIVERS_REMOVED)]
|
25 |
|
26 |
+
REMAINING_DRIVERS = list(set(drivers.tolist()) - set(DRIVERS_REMOVED))
|
27 |
+
|
28 |
+
|
29 |
|
30 |
ratings_df = rl.get_ratings(laps, drivers, reaction_df, REMAINING_DRIVERS)
|
31 |
|