Filter dataframe after data parsing
This commit is contained in:
parent
c275391088
commit
1060677d1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue