Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
2f0dc3c
1
Parent(s):
fa0a395
Update app.py
Browse files
app.py
CHANGED
@@ -127,8 +127,13 @@ evo_html = """
|
|
127 |
with st.sidebar:
|
128 |
st.sidebar.markdown(title_html, unsafe_allow_html=True)
|
129 |
|
|
|
|
|
|
|
|
|
|
|
130 |
# Add a dropdown for filtering "Tipo"
|
131 |
-
selected_tipo = st.selectbox('
|
132 |
|
133 |
data_tipo = data[data['Tipo'] == selected_tipo]
|
134 |
|
|
|
127 |
with st.sidebar:
|
128 |
st.sidebar.markdown(title_html, unsafe_allow_html=True)
|
129 |
|
130 |
+
# Add a dropdown for filtering "Fonte"
|
131 |
+
selected_fonte = st.selectbox(data['Fonte'].unique())
|
132 |
+
|
133 |
+
data = data[data['Fonte'] == selected_fonte]
|
134 |
+
|
135 |
# Add a dropdown for filtering "Tipo"
|
136 |
+
selected_tipo = st.selectbox('Tipo de imóvel', data['Tipo'].unique())
|
137 |
|
138 |
data_tipo = data[data['Tipo'] == selected_tipo]
|
139 |
|