diff --git a/src/analysis/observed_storm_impacts.py b/src/analysis/observed_storm_impacts.py index 541613e..03bd714 100644 --- a/src/analysis/observed_storm_impacts.py +++ b/src/analysis/observed_storm_impacts.py @@ -343,8 +343,12 @@ def create_observed_impacts( ele=0, col_name="width_msl_poststorm", ) - df_width_msl_change_m = (df_width_msl_poststorm - df_width_msl_prestorm).rename('width_msl_change_m') - df_width_msl_change_pct = (df_width_msl_change_m / df_width_msl_prestorm * 100).rename('width_msl_change_pct') + df_width_msl_change_m = (df_width_msl_poststorm - df_width_msl_prestorm).rename( + "width_msl_change_m" + ) + df_width_msl_change_pct = ( + df_width_msl_change_m / df_width_msl_prestorm * 100 + ).rename("width_msl_change_pct") # Join beach width change onto observed impacts dataframe df_observed_impacts = pd.concat(