Spaces:
Sleeping
Sleeping
Update pages/comps_data.py
Browse files- pages/comps_data.py +3 -3
pages/comps_data.py
CHANGED
|
@@ -48,7 +48,7 @@ def main():
|
|
| 48 |
col_1_1, col_1_2 = st.columns([2, 1])
|
| 49 |
with col_1_1:
|
| 50 |
st.write('Comps list:')
|
| 51 |
-
st.
|
| 52 |
with col_1_2:
|
| 53 |
# Create a map object
|
| 54 |
m = folium.Map(width=500, height=440, location=(df_data['latitude'].mean(), df_data['longitude'].mean()), zoom_start=10)
|
|
@@ -155,8 +155,8 @@ def main():
|
|
| 155 |
with col_3_2:
|
| 156 |
if st.button("Add comps", help="Click to add more comps"):
|
| 157 |
filtered_data1 = pd.concat([filtered_data, test.drop(columns=['favorite'])])
|
| 158 |
-
filtered_data.update(test.drop(columns=['favorite']))
|
| 159 |
-
|
| 160 |
with col_3_3:
|
| 161 |
st.write('Filter definition')
|
| 162 |
|
|
|
|
| 48 |
col_1_1, col_1_2 = st.columns([2, 1])
|
| 49 |
with col_1_1:
|
| 50 |
st.write('Comps list:')
|
| 51 |
+
display_df = st.table(df)
|
| 52 |
with col_1_2:
|
| 53 |
# Create a map object
|
| 54 |
m = folium.Map(width=500, height=440, location=(df_data['latitude'].mean(), df_data['longitude'].mean()), zoom_start=10)
|
|
|
|
| 155 |
with col_3_2:
|
| 156 |
if st.button("Add comps", help="Click to add more comps"):
|
| 157 |
filtered_data1 = pd.concat([filtered_data, test.drop(columns=['favorite'])])
|
| 158 |
+
# filtered_data.update(test.drop(columns=['favorite']))
|
| 159 |
+
display_df.table(filtered_data1)
|
| 160 |
with col_3_3:
|
| 161 |
st.write('Filter definition')
|
| 162 |
|