Last active
November 23, 2020 20:16
-
-
Save gabriellm1/3c80096a114d34ad1b3be0e7dbee9546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.pipeline import Pipeline | |
num_pipeline = Pipeline( | |
[ | |
("imputer", SimpleImputer(strategy="median")), | |
] | |
) | |
df_prepared = num_pipeline.fit_transform(df) | |
df_prepared = normalize(df_prepared) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment