-
-
Save amankharwal/b642dcd3e7de2b5822240bc38a70c6f0 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 mean | |
from sklearn.impute import SimpleImputer | |
mean_values = SimpleImputer(strategy='mean') | |
data1 = mean_values.fit_transform(data) | |
print(data1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment