Mpavan45 commited on
Commit
494cbbd
·
verified ·
1 Parent(s): f8cf1dc

Update pages/3_EDA and Feature Engineering.py

Browse files
pages/3_EDA and Feature Engineering.py CHANGED
@@ -97,8 +97,8 @@ if data is not None:
97
 
98
  ### univariate_analysis.
99
  st.success("Dataset successfully loaded from session state!")
100
- if pages == 'Univariate Analysis':
101
- st.subheader("Univariate Analysis")
102
 
103
  # Rating and Review Text Distribution
104
  st.subheader("Rating and Review Text Distribution")
@@ -244,8 +244,7 @@ if data is not None:
244
  **Summary:**
245
  Hotels tend to prioritize basic amenities like parking, toiletries, and hair dryers, while luxurious amenities are offered less frequently.
246
  """)
247
- elif pages == "Bivariate Analysis":
248
- # Streamlit app
249
  st.title("Bivariate Analysis")
250
 
251
  # Price vs Rating scatter plot
@@ -442,7 +441,7 @@ if data is not None:
442
  - **Hotel Categories by State:** States with more budget hotels focus on catering to price-sensitive travelers, while states with luxury hotels cater to premium audiences, often in tourist hotspots.
443
  - **Overall Insight:** Regional trends indicate diverse pricing and category distributions, influenced by tourism, regional economics, and state-specific factors that shape hotel offerings across the country.
444
  """)
445
- elif pages =="Multivariate Analysis":
446
  st.title("Multivariate Analysis of Hotel Data")
447
 
448
  # Create a subset of the data for the analysis
 
97
 
98
  ### univariate_analysis.
99
  st.success("Dataset successfully loaded from session state!")
100
+
101
+ st.subheader("Univariate Analysis")
102
 
103
  # Rating and Review Text Distribution
104
  st.subheader("Rating and Review Text Distribution")
 
244
  **Summary:**
245
  Hotels tend to prioritize basic amenities like parking, toiletries, and hair dryers, while luxurious amenities are offered less frequently.
246
  """)
247
+
 
248
  st.title("Bivariate Analysis")
249
 
250
  # Price vs Rating scatter plot
 
441
  - **Hotel Categories by State:** States with more budget hotels focus on catering to price-sensitive travelers, while states with luxury hotels cater to premium audiences, often in tourist hotspots.
442
  - **Overall Insight:** Regional trends indicate diverse pricing and category distributions, influenced by tourism, regional economics, and state-specific factors that shape hotel offerings across the country.
443
  """)
444
+
445
  st.title("Multivariate Analysis of Hotel Data")
446
 
447
  # Create a subset of the data for the analysis