Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2021
What would you like to do?
# Filling Values with median
from sklearn.impute import SimpleImputer
median_values = SimpleImputer(strategy='median')
data2 = median_values.fit_transform(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment