Answers for "simpleimputer axis"

2

SimpleImputer

imr = Imputer(missing_values='NaN', strategy='median', axis=0)
imr = imr.fit(data[['age']])
data['age'] = imr.transform(data[['age']]).ravel()
Posted by: Guest on June-01-2020

Code answers related to "simpleimputer axis"

Browse Popular Code Answers by Language