diff --git a/src/P2/preprocessing.py b/src/P2/preprocessing.py index 4324d0f..6dbf838 100644 --- a/src/P2/preprocessing.py +++ b/src/P2/preprocessing.py @@ -55,5 +55,6 @@ def normalize_numerical_values(df) -> DataFrame: def parse_data(source, action) -> DataFrame: df = read_csv(filepath_or_buffer=source, na_values="?") processed_df = process_na(df=df, action=action) - normalized_df = normalize_numerical_values(df=processed_df) + filtered_df = filter_dataframe(df=processed_df) + normalized_df = normalize_numerical_values(df=filtered_df) return normalized_df