Borya-Goldarb commited on
Commit
8dbd154
·
verified ·
1 Parent(s): b05d807

Update pages/market_rent_estimation.py

Browse files
Files changed (1) hide show
  1. pages/market_rent_estimation.py +1 -0
pages/market_rent_estimation.py CHANGED
@@ -118,6 +118,7 @@ def main():
118
  active_markers = folium.FeatureGroup(name='Active Markers', show=False)
119
  inactive_markers = folium.FeatureGroup(name='Inactive Markers', show=False)
120
 
 
121
  for index, row in filtered_data_sorted.iterrows():
122
  status_color = 'green' if index==0 else 'red'
123
  html_content = f"""
 
118
  active_markers = folium.FeatureGroup(name='Active Markers', show=False)
119
  inactive_markers = folium.FeatureGroup(name='Inactive Markers', show=False)
120
 
121
+ filtered_data_sorted = filtered_data_sorted.reset_index()
122
  for index, row in filtered_data_sorted.iterrows():
123
  status_color = 'green' if index==0 else 'red'
124
  html_content = f"""