human
Here's a good function header given the following:
I wrote the below code

    def dict_to_entry(dct):
        '    Convert    dictionary    to    a    list    for    a    csv    row    '
        relevant_items = [(k, v) for (k, v) in dct.items() if (k in features)]
        ordered = sorted(relevant_items, key=(lambda (k, v): header.index(k)))
        vals = [v for (_, v) in ordered]
        return vals
    header = features
    datarows = map(dict_to_entry, dictlist)
    return (header, datarows)

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

def format_dictlist(dictlist, features):