Пандас Кнн Импутер

imputer_KNN = KNNImputer(n_neighbors=2, weights="uniform")
pd.DataFrame(imputer_KNN.fit_transform(X))
Xanthous Xenomorph