Mpavan45 commited on
Commit
74c23b9
·
verified ·
1 Parent(s): c5f6353

Update pages/3_EDA and Feature Engineering.py

Browse files
pages/3_EDA and Feature Engineering.py CHANGED
@@ -93,7 +93,7 @@ if data is not None:
93
  )
94
  ### univariate_analysis.
95
  st.success("Dataset successfully loaded from session state!")
96
- if pages='Univariate Analysis':
97
  st.subheader("Univariate Analysis")
98
 
99
  # Rating and Review Text Distribution
@@ -240,7 +240,7 @@ if data is not None:
240
  **Summary:**
241
  Hotels tend to prioritize basic amenities like parking, toiletries, and hair dryers, while luxurious amenities are offered less frequently.
242
  """)
243
- elif pages="Bivariate Analysis":
244
  # Streamlit app
245
  st.title("Bivariate Analysis")
246
 
@@ -438,7 +438,7 @@ if data is not None:
438
  - **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.
439
  - **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.
440
  """)
441
- elif pages="Multivariate Analysis":
442
  st.title("Multivariate Analysis of Hotel Data")
443
 
444
  # Create a subset of the data for the analysis
 
93
  )
94
  ### univariate_analysis.
95
  st.success("Dataset successfully loaded from session state!")
96
+ if pages == 'Univariate Analysis':
97
  st.subheader("Univariate Analysis")
98
 
99
  # Rating and Review Text Distribution
 
240
  **Summary:**
241
  Hotels tend to prioritize basic amenities like parking, toiletries, and hair dryers, while luxurious amenities are offered less frequently.
242
  """)
243
+ elif pages == "Bivariate Analysis":
244
  # Streamlit app
245
  st.title("Bivariate Analysis")
246
 
 
438
  - **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.
439
  - **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.
440
  """)
441
+ elif pages =="Multivariate Analysis":
442
  st.title("Multivariate Analysis of Hotel Data")
443
 
444
  # Create a subset of the data for the analysis