-
-
Save amankharwal/7fe542b564e85abc30d31bba52ab9136 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
# Filling values with most frequent values | |
from sklearn.impute import SimpleImputer | |
most_frequent = SimpleImputer(strategy='most_frequent') | |
data3 = most_frequent.fit_transform(data) | |
print(data3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment