def METHOD_NAME():
    X = pd.DataFrame(
        [
            [3, 0, 1, 6],
            [1, None, 1, 6],
            [10, 2, 1, 6],
            [10, 2, 2, np.nan],
            [None, 2, 2, 5],
        ],
    )
    y = [2, 0, 1, 1, 0]
    lda = LinearDiscriminantAnalysis()
    with pytest.raises(ValueError, match="must be all numeric"):
        lda.fit(X, y)
    X = pd.DataFrame(
        [
            [3, 0, 1, 6],
            ["a", "b", "a", "b"],
            [10, 2, 1, 6],
            [10, 2, 2, 23],
            [0, 2, 2, 5],
        ],
    )
    lda = LinearDiscriminantAnalysis()
    with pytest.raises(ValueError, match="must be all numeric"):
        lda.fit_transform(X, y)
    X_ok = pd.DataFrame(
        [[3, 0, 1, 6], [1, 2, 1, 6], [10, 2, 1, 6], [10, 2, 2, 5], [6, 2, 2, 5]],
    )
    lda = LinearDiscriminantAnalysis()
    lda.fit(X_ok, y)
    with pytest.raises(ValueError, match="must be all numeric"):
        lda.transform(X)