From c17051788c95f75583f260b8b7ef3f8f82319354 Mon Sep 17 00:00:00 2001 From: Chris Leaman Date: Tue, 19 Mar 2019 12:04:04 +1100 Subject: [PATCH] Fix formatting --- src/analysis/observed_storm_impacts.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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(