ardifarizky commited on
Commit
42fec1e
1 Parent(s): 15a269a

Update eda.py

Browse files
Files changed (1) hide show
  1. eda.py +14 -16
eda.py CHANGED
@@ -25,22 +25,7 @@ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
25
 
26
  def run():
27
 
28
- st.title('EDA')
29
-
30
- with st.sidebar:
31
-
32
- st.markdown('
33
- - Bookings made well in advance, such as 250 days before the stay, often face cancellations. This suggests the need for flexible cancellation policies.
34
-
35
- - Despite "Non Refundable" deposits, a significant number of cancellations occur. Unforeseen events may be causing these cancellations.
36
-
37
- - April and May witness increased hotel bookings. This highlights the potential to optimize pricing and resources during these peak demand periods.
38
-
39
- - The difficulty in identifying strong connections between columns is due to the unequal data distribution between city and resort hotels. Caution is advised when interpreting findings.
40
-
41
- - Online Travel agents are favored for bookings. We can Strengthen partnerships with Online Travel agents, offering them exclusive deals or promotions to encourage more bookings through this channel. Focus marketing efforts on promoting these partnerships to attract a broader customer base. By implementing these solutions, hotels can adapt to changing customer preferences and market dynamics, ultimately enhancing customer satisfaction and revenue generation.
42
- ')
43
-
44
 
45
  d = pd.read_csv('hotel_bookings.csv')
46
 
@@ -121,7 +106,20 @@ def run():
121
  plt.tight_layout()
122
 
123
  st.pyplot()
 
 
 
 
 
 
 
 
 
124
 
 
 
 
 
125
 
126
  if __name__ == '__main__':
127
  run()
 
25
 
26
  def run():
27
 
28
+ st.title('EDA')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  d = pd.read_csv('hotel_bookings.csv')
31
 
 
106
  plt.tight_layout()
107
 
108
  st.pyplot()
109
+
110
+ with st.sidebar:
111
+
112
+ st.markdown('
113
+ - Bookings made well in advance, such as 250 days before the stay, often face cancellations. This suggests the need for flexible cancellation policies.
114
+
115
+ - Despite "Non Refundable" deposits, a significant number of cancellations occur. Unforeseen events may be causing these cancellations.
116
+
117
+ - April and May witness increased hotel bookings. This highlights the potential to optimize pricing and resources during these peak demand periods.
118
 
119
+ - The difficulty in identifying strong connections between columns is due to the unequal data distribution between city and resort hotels. Caution is advised when interpreting findings.
120
+
121
+ - Online Travel agents are favored for bookings. We can Strengthen partnerships with Online Travel agents, offering them exclusive deals or promotions to encourage more bookings through this channel. Focus marketing efforts on promoting these partnerships to attract a broader customer base. By implementing these solutions, hotels can adapt to changing customer preferences and market dynamics, ultimately enhancing customer satisfaction and revenue generation.
122
+ ')
123
 
124
  if __name__ == '__main__':
125
  run()