Filter dataframe after data parsing

This commit is contained in:
coolneng 2020-12-09 22:49:09 +01:00
parent c275391088
commit 1060677d1f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -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