def METHOD_NAME():
    """Try calling `.transform()` without fitting first"""
    df = cudf.Series(np.random.choice(10, (10,)))
    le = LabelEncoder()
    assert not le._fitted
    with pytest.raises(NotFittedError):
        le.transform(df)