UjjwalKGupta commited on
Commit
0c93215
·
verified ·
1 Parent(s): 26ef537

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -225,7 +225,7 @@ if uploaded_file is not None:
225
  max_ndvi_buffered_geoms.append(get_zonal_ndviYoY(collection.filterBounds(buffered_ee_object), buffered_ee_object))
226
 
227
  # Create a DataFrame for YoY profile
228
- yoy_df = pd.DataFrame({'Year': [str(year) for i in range(start_year, end_year+1))], 'NDVI_Inside': max_ndvi_geoms, 'NDVI_Buffer': max_ndvi_buffered_geoms})
229
  yoy_df['Ratio'] = yoy_df['NDVI_Inside'] / yoy_df['NDVI_Buffer']
230
 
231
  # plot the time series
 
225
  max_ndvi_buffered_geoms.append(get_zonal_ndviYoY(collection.filterBounds(buffered_ee_object), buffered_ee_object))
226
 
227
  # Create a DataFrame for YoY profile
228
+ yoy_df = pd.DataFrame({'Year': [str(year) for i in range(start_year, end_year+1)], 'NDVI_Inside': max_ndvi_geoms, 'NDVI_Buffer': max_ndvi_buffered_geoms})
229
  yoy_df['Ratio'] = yoy_df['NDVI_Inside'] / yoy_df['NDVI_Buffer']
230
 
231
  # plot the time series