mattritchey commited on
Commit
7863e17
·
1 Parent(s): 8d3cf6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -143,7 +143,7 @@ gdf_cut["Lon_address"] = lon
143
  gdf_cut['Miles to Fire Centroid'] = [
144
  distance(i) for i in gdf_cut[gdf_cut.columns[-4:]].values]
145
  gdf_cut['Miles to Fire Centroid'] = gdf_cut['Miles to Fire Centroid'].round(2)
146
- gdf_cut['Size_acres'] = gdf_cut[Size_acres'].round(1)
147
  if miles_range is not None:
148
  gdf_cut = gdf_cut.query(f"`Miles to Fire Centroid`<={miles_range}")
149
 
@@ -187,6 +187,4 @@ with col1:
187
  with col2:
188
  st.header('Fires')
189
  gdf_cut[['Incident', 'DiscoveryDate', 'Size_acres','Miles to Fire Centroid']]
190
-
191
-
192
-
 
143
  gdf_cut['Miles to Fire Centroid'] = [
144
  distance(i) for i in gdf_cut[gdf_cut.columns[-4:]].values]
145
  gdf_cut['Miles to Fire Centroid'] = gdf_cut['Miles to Fire Centroid'].round(2)
146
+ gdf_cut['Size_acres'] = gdf_cut[Size_acres'].astype(float).round(1)
147
  if miles_range is not None:
148
  gdf_cut = gdf_cut.query(f"`Miles to Fire Centroid`<={miles_range}")
149
 
 
187
  with col2:
188
  st.header('Fires')
189
  gdf_cut[['Incident', 'DiscoveryDate', 'Size_acres','Miles to Fire Centroid']]
190
+