def deploy_func_between_two_axis_partitions(
        cls, axis, func, num_splits, len_of_left, kwargs, *partitions
    ):
        """Deploy a function along a full axis between two data sets in Ray.

        Args:
            axis: The axis to perform the function along.
            func: The function to perform.
            num_splits: The number of splits to return
                (see `split_result_of_axis_func_pandas`).
            len_of_left: The number of values in `partitions` that belong to the
                left data set.
            kwargs: A dictionary of keyword arguments.
            partitions: All partitions that make up the full axis (row or column)
                for both data sets.

        Returns:
            A list of Pandas DataFrames.
        """
        lt_frame = pandas.concat(list(partitions[:len_of_left]), axis=axis, copy=False)
        rt_frame = pandas.concat(list(partitions[len_of_left:]), axis=axis, copy=False)

        result = func(lt_frame, rt_frame, **kwargs)
        return split_result_of_axis_func_pandas(axis, num_splits, result)
def deploy_func_between_two_axis_partitions ( cls , axis , func , num_splits , len_of_left , kwargs , * partitions ) : lt_frame = pandas . concat ( list ( partitions [ : len_of_left ] ) , axis = axis , copy = False ) rt_frame = pandas . concat ( list ( partitions [ len_of_left : ] ) , axis = axis , copy = False ) result = func ( lt_frame , rt_frame , ** kwargs ) return split_result_of_axis_func_pandas ( axis , num_splits , result )
Deploy a function along a full axis between two data sets in Ray.

        Args:
            axis: The axis to perform the function along.
            func: The function to perform.
            num_splits: The number of splits to return
                (see `split_result_of_axis_func_pandas`).
            len_of_left: The number of values in `partitions` that belong to the
                left data set.
            kwargs: A dictionary of keyword arguments.
            partitions: All partitions that make up the full axis (row or column)
                for both data sets.

        Returns:
            A list of Pandas DataFrames.