def METHOD_NAME(df, other, apply_func):
    """
    Perform remotely `apply_func` on `df` and `other` objects.
    Parameters
    ----------
    df : cuDFOnRayDataframePartition
        Object to be processed.
    other : cuDFOnRayDataframePartition
        Object to be processed.
    apply_func : callable
        Function to apply.
    Returns
    -------
    The type of return of `apply_func`
        The result of the `apply_func`
        (will be a ``ray.ObjectRef`` in outside level).
    """
    return apply_func(
        RayWrapper.materialize(df.get.remote()),
        RayWrapper.materialize(other.get.remote()),
    )