def _preprocess(self, X, **kwargs):
    X = super()._preprocess(X, **kwargs)
    X = X.fillna(0).to_numpy(dtype=np.float32)
    return X
def _preprocess(self, X, **kwargs):
    X = super()._preprocess(X, **kwargs)
    X = X.fillna(0).to_numpy(dtype=np.float32)
    return X