def _getFuncPtrAndParams(self, funcName):
params = None<EOL>if isinstance(funcName, str):<EOL><INDENT>if funcName == '<STR_LIT>':<EOL><INDENT>fp = _aggr_sum<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = _aggr_first<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = _aggr_last<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = _aggr_mean<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = max<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = min<EOL><DEDENT>elif funcName == '<STR_LIT>':<EOL><INDENT>fp = _aggr_mode<EOL><DEDENT>elif funcName.startswith('<STR_LIT>'):<EOL><INDENT>fp = _aggr_weighted_mean<EOL>paramsName = funcName[<NUM_LIT:6>:]<EOL>params = [f[<NUM_LIT:0>] for f in self._inputFields].index(paramsName)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>fp = funcName<EOL><DEDENT>return (fp, params)<EOL>
Given the name of an aggregation function, returns the function pointer
        and param.

        Parameters:
        ------------------------------------------------------------------------
        funcName:  a string (name of function) or funcPtr
        retval:   (funcPtr, param)