ibrahimnomad commited on
Commit
8ea20c0
·
verified ·
1 Parent(s): 4ca9120

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -28,11 +28,14 @@ fig = px.histogram(df, x='Reviewer_Score')
28
  st.plotly_chart(fig)
29
 
30
  st.write("The hotels are from capital cities of 6 countries: Netherlands, United Kingdom, France, Spain, Italy, Austria ")
31
- st.write("#### Scatter Plot of Latitude vs Longitude")
32
- fig = px.scatter(df, x="lng", y="lat")
33
- st.plotly_chart(fig)
34
- st.write("#### Western Europe Map")
35
- st.image('https://i.pinimg.com/736x/7b/98/94/7b9894e2f3059e6b1e2fa808516e57b7.jpg')
 
 
 
36
 
37
  df.rename(columns={'lng': 'lon'}, inplace=True)
38
  mapdf = df
 
28
  st.plotly_chart(fig)
29
 
30
  st.write("The hotels are from capital cities of 6 countries: Netherlands, United Kingdom, France, Spain, Italy, Austria ")
31
+ col1, col2 = st.columns(2)
32
+ with col1:
33
+ st.write("#### Scatter Plot of Latitude vs Longitude")
34
+ fig = px.scatter(df, x="lng", y="lat")
35
+ st.plotly_chart(fig)
36
+ with col2:
37
+ st.write("#### Western Europe Map")
38
+ st.image('https://i.pinimg.com/736x/7b/98/94/7b9894e2f3059e6b1e2fa808516e57b7.jpg')
39
 
40
  df.rename(columns={'lng': 'lon'}, inplace=True)
41
  mapdf = df