ericjedha commited on
Commit
89b565c
·
verified ·
1 Parent(s): 02c6f7e

Update pages/1_EDA_GetAround.py

Browse files
Files changed (1) hide show
  1. pages/1_EDA_GetAround.py +1 -13
pages/1_EDA_GetAround.py CHANGED
@@ -16,7 +16,7 @@ with st.sidebar:
16
  st.page_link("pages/3_Prediction_Prix.py", label="Prediction Prix", icon="💰")
17
 
18
  st.html(
19
- "<h1 style='color: #b725c8cc; font-size: 22px'>EDA GETAROUND</span>!</h1><span style='font-style: italic; text-align='right'>DataScience 33 - Eric Nguyen</span>"
20
  )
21
 
22
  df = pd.read_excel("get_around_delay_analysis.xlsx")
@@ -270,18 +270,6 @@ st.plotly_chart(fig)
270
 
271
  #---
272
 
273
- # Mask sur les Canceled
274
-
275
- mask_canceled = df['state'] == 'canceled'
276
- car_canceled_detail = df[mask_canceled]
277
-
278
- car_canceled_detail = car_canceled_detail['checkin_type'].value_counts()
279
- car_canceled_detail = pd.DataFrame(car_canceled_detail).reset_index()
280
- car_canceled_detail.columns = ['checkin_type', 'count']
281
-
282
- cancel_device = px.pie(car_canceled_detail, values='count', names='checkin_type', title='Groupe Cancel : Checkin Type', color = 'checkin_type', width=WIDTH)
283
- st.plotly_chart(cancel_device)
284
-
285
  #Visualisation des Cancels et les outliers
286
 
287
  delay_mask = df['delay_at_checkout_in_minutes'] > 0
 
16
  st.page_link("pages/3_Prediction_Prix.py", label="Prediction Prix", icon="💰")
17
 
18
  st.html(
19
+ "<h1 style='color: #b725c8cc; font-size: 22px'>EDA GETAROUND</span>!</h1>"
20
  )
21
 
22
  df = pd.read_excel("get_around_delay_analysis.xlsx")
 
270
 
271
  #---
272
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  #Visualisation des Cancels et les outliers
274
 
275
  delay_mask = df['delay_at_checkout_in_minutes'] > 0