Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -288,7 +288,7 @@ elif viz_type == "Complaints Over Time":
|
|
| 288 |
elif viz_type == "Complaints by Housing Block and Type":
|
| 289 |
st.subheader("Complaints by Housing Block and Type")
|
| 290 |
|
| 291 |
-
if
|
| 292 |
complaint_pivot = filtered_data_time.pivot_table(
|
| 293 |
index='Housing Block',
|
| 294 |
columns='Type of Complaint',
|
|
|
|
| 288 |
elif viz_type == "Complaints by Housing Block and Type":
|
| 289 |
st.subheader("Complaints by Housing Block and Type")
|
| 290 |
|
| 291 |
+
if selected_block != 'All Blocks':
|
| 292 |
complaint_pivot = filtered_data_time.pivot_table(
|
| 293 |
index='Housing Block',
|
| 294 |
columns='Type of Complaint',
|