Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions quickda/clean_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def convert_features_dtype_to_numeric(data, numeric_columns):
df_out = df.copy()
df_out.loc[:, numeric_columns] = df[numeric_columns].apply(pd.to_numeric, errors='ignore')

return data_out
return df_out

def remove_outliers_in_numerical_feature(data, num_columns):

Expand Down Expand Up @@ -185,4 +185,4 @@ def clean(data, method="default", columns=[], dtype="numeric", to_replace="", va

except Exception as e:
print(e)
return data
return data