diff --git a/ons/gdp.py b/ons/gdp.py index 6e04f6a..eb24a1a 100644 --- a/ons/gdp.py +++ b/ons/gdp.py @@ -18,9 +18,7 @@ def get_gdp() -> pd.Series: df.rename(columns={df.columns[0]: "GDP"}, inplace=True) df.set_index("date", inplace=True) df.sort_index(ascending=True, inplace=True) - s = df.squeeze() - - return s + return df.squeeze() def get_infl_from_gdp( data: pd.Series) ->pd.Series: s = data.pct_change().round(4)