ralate2 commited on
Commit
69bfce8
·
verified ·
1 Parent(s): 5b69b6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 housing_block != 'All Blocks':
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',