def METHOD_NAME():
    from random import choices, choice
    import vaex
    values = ["apple", "banana", "orange", "kiwi", "grape", "strawberry"]
    values_but_banana = [values[0]] + values[2:]
    df = vaex.from_arrays(
        id=list(range(100)), fruit=[choice(values_but_banana) for i in range(100)]
    )
    df["str_fruit"] = df["fruit"]
    df = df.ordinal_encode("fruit", values)
    assert not df[df["str_fruit"]=="strawberry"].fruit.ismissing().values.any()