can't run
X_train['Age_imputed'][X_train['Age_imputed'].isnull()] = X_train['Age'].dropna().sample(X_train['Age'].isnull().sum()).values
X_test['Age_imputed'][X_test['Age_imputed'].isnull()] = X_train['Age'].dropna().sample(X_test['Age'].isnull().sum()).values
because of
ValueError: cannot set using a list-like indexer with a different length than the value
this error!!!
can't run
because of
ValueError: cannot set using a list-like indexer with a different length than the value
this error!!!