Spaces:
Running
Running
tracinginsights
commited on
Commit
•
7e7ec40
1
Parent(s):
7d6a3d5
Update pages/Penalty_Points.py
Browse files- pages/Penalty_Points.py +9 -9
pages/Penalty_Points.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
|
5 |
|
6 |
-
|
7 |
|
8 |
-
#
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
|
13 |
-
|
|
|
1 |
+
from repo_directory import button
|
2 |
+
import streamlit as st
|
3 |
+
from repo_directory import Penalty_Points
|
4 |
|
5 |
|
6 |
+
_, drivers, n = Penalty_Points.get_data()
|
7 |
|
8 |
+
#Remove drivers
|
9 |
+
DRIVERS_REMOVED = st.multiselect(
|
10 |
+
'Select Drivers to remove',
|
11 |
+
drivers)
|
12 |
|
13 |
+
Penalty_Points.plot(DRIVERS_REMOVED)
|