From 70bf0783280c27b98b7b30260fda7fec581ed679 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 16 Sep 2024 17:02:04 +0100 Subject: [PATCH 1/2] added whitespace --- covid_analysis/transforms.py | 1 + tests/transforms_test.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/covid_analysis/transforms.py b/covid_analysis/transforms.py index e8a36d1..4e45132 100644 --- a/covid_analysis/transforms.py +++ b/covid_analysis/transforms.py @@ -22,3 +22,4 @@ def clean_spark_cols(pdf): def index_to_col(df, colname): df[colname] = df.index return df + diff --git a/tests/transforms_test.py b/tests/transforms_test.py index 223ef43..5a907bd 100644 --- a/tests/transforms_test.py +++ b/tests/transforms_test.py @@ -20,7 +20,6 @@ def colnames_df() -> pd.DataFrame: data=[[0,1,2,3,4,5]], columns=[ "Daily ICU occupancy", - "Daily ICU occupancy per million", "Daily hospital occupancy", "Daily hospital occupancy per million", "Weekly new hospital admissions", From 5bb3dcb0c0472878cb7b75569a787e7cb6f70517 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 16 Sep 2024 17:07:53 +0100 Subject: [PATCH 2/2] removed whitespace --- covid_analysis/transforms.py | 1 - 1 file changed, 1 deletion(-) diff --git a/covid_analysis/transforms.py b/covid_analysis/transforms.py index 4e45132..e8a36d1 100644 --- a/covid_analysis/transforms.py +++ b/covid_analysis/transforms.py @@ -22,4 +22,3 @@ def clean_spark_cols(pdf): def index_to_col(df, colname): df[colname] = df.index return df -