def METHOD_NAME(client, drop):
    df = DataFrame({"g": ["M", "F", "F"], "i": [1, 3, 2]})
    X = dask_cudf.from_cudf(df, npartitions=2)
    enc = OneHotEncoder(drop=drop)
    ohe = enc.fit_transform(X)
    inv = enc.inverse_transform(ohe)
    assert_frame_equal(
        inv.compute().to_pandas().reset_index(drop=True), df.to_pandas()
    )