def METHOD_NAME(lazy, df_factory):
    x = [1., 2.5, None, np.nan]
    df = df_factory(x=x)
    assert df.x.tolist()[:3] == [1., 2.5, None]
    dfe = df.ordinal_encode('x', lazy=lazy)
    dfe = dfe._future()
    assert dfe.x.tolist()[:3] == [1., 2.5, None]
    # gives values explicitly
    dfe = df.ordinal_encode('x', lazy=lazy, values=x)
    dfe = dfe._future()
    assert dfe.x.tolist()[:3] == [1., 2.5, None]