def _reduce_method(cls, func):
        """
        Methods to return a wrapped function for any function `func` for
        numpy methods.
        """

        def wrapped_func(self, **kwargs):
            return self.reduce(func, **kwargs)
        return wrapped_func
def _reduce_method ( cls , func ) : def wrapped_func ( self , ** kwargs ) : return self . reduce ( func , ** kwargs ) return wrapped_func
Methods to return a wrapped function for any function `func` for
        numpy methods.