human
I wrote the below code

    def func(dat):
        outs = []
        for (name, func) in zip(names, funcs):
            try:
                if isinstance(func, six.string_types):
                    out = getattr(dat, func)()
                else:
                    out = func(dat)
            except Exception:
                outs.append('--')
            else:
                outs.append(str(out))
        return OrderedDict(zip(names, outs))
    return func

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def data_info_factory(names, funcs):