modin/core/dataframe/algebra/default2pandas/groupby.py
def inplace_applyier_builder(cls, key, func=None):
        """
        Bind actual aggregation function to the GroupBy aggregation method.

        Parameters
        ----------
        key : callable
            Function that takes GroupBy object and evaluates passed aggregation function.
        func : callable or str, optional
            Function that takes DataFrame and aggregate its data. Will be applied
            to each group at the grouped frame.

        Returns
        -------
        callable,
            Function that executes aggregation under GroupBy object.
        """
        inplace_args = [] if func is None else [func]

        def inplace_applyier(grp, **func_kwargs):
            return key(grp, *inplace_args, **func_kwargs)

        return inplace_applyier

        Bind actual aggregation function to the GroupBy aggregation method.

        Parameters
        ----------
        key : callable
            Function that takes GroupBy object and evaluates passed aggregation function.
        func : callable or str, optional
            Function that takes DataFrame and aggregate its data. Will be applied
            to each group at the grouped frame.

        Returns
        -------
        callable,
            Function that executes aggregation under GroupBy object.
        
Bind actual aggregation function to the GroupBy aggregation method.
Parameters

key : callable
Function that takes GroupBy object and evaluates passed aggregation function.
func : callable or str, optional
Function that takes DataFrame and aggregate its data. Will be applied
to each group at the grouped frame.

Returns

callable,
Function that executes aggregation under GroupBy object.
Bind actual aggregation function to the GroupBy aggregation method . Parameters key : callable Function that takes GroupBy object and evaluates passed aggregation function . func : callable or str optional Function that takes DataFrame and aggregate its data . Will be applied to each group at the grouped frame . Returns callable Function that executes aggregation under GroupBy object .
def inplace_applyier_builder(cls, key, func=None):
        inplace_args = [] if func is None else [func]
        def inplace_applyier(grp, **func_kwargs):
            return key(grp, *inplace_args, **func_kwargs)
        return inplace_applyier
def inplace_applyier_builder ( cls , key , func = None ) : inplace_args = [ ] if func is None else [ func ] def inplace_applyier ( grp , ** func_kwargs ) : return key ( grp , * inplace_args , ** func_kwargs ) return inplace_applyier
Bind actual aggregation function to the GroupBy aggregation method.
Bind actual aggregation function to the GroupBy aggregation method .
"""
        Bind actual aggregation function to the GroupBy aggregation method.

        Parameters
        ----------
        key : callable
            Function that takes GroupBy object and evaluates passed aggregation function.
        func : callable or str, optional
            Function that takes DataFrame and aggregate its data. Will be applied
            to each group at the grouped frame.

        Returns
        -------
        callable,
            Function that executes aggregation under GroupBy object.
        """
cls
key
func