Spaces:
Runtime error
Runtime error
Updated UI
Browse files
app.py
CHANGED
|
@@ -71,14 +71,12 @@ df = df.sort_values(by="month", ascending=False)
|
|
| 71 |
#df["floor_area_sqm"] = df["floor_area_sqm"].astype("int")
|
| 72 |
df["resale_price"] = df["resale_price"].astype("int")
|
| 73 |
|
| 74 |
-
st.markdown("
|
| 75 |
|
| 76 |
st.dataframe(data=df)
|
| 77 |
|
| 78 |
-
st.markdown("### Visualization of Selected Data")
|
| 79 |
-
|
| 80 |
fig = px.box(df,
|
| 81 |
x="month", y="resale_price",
|
| 82 |
-
title='Resale Price over time')
|
| 83 |
|
| 84 |
st.plotly_chart(fig, use_container_width=True)
|
|
|
|
| 71 |
#df["floor_area_sqm"] = df["floor_area_sqm"].astype("int")
|
| 72 |
df["resale_price"] = df["resale_price"].astype("int")
|
| 73 |
|
| 74 |
+
st.markdown("#### Selected Data")
|
| 75 |
|
| 76 |
st.dataframe(data=df)
|
| 77 |
|
|
|
|
|
|
|
| 78 |
fig = px.box(df,
|
| 79 |
x="month", y="resale_price",
|
| 80 |
+
title='Visualization: Resale Price over time')
|
| 81 |
|
| 82 |
st.plotly_chart(fig, use_container_width=True)
|