def flip(self):
        """Convert list of dictionaries to dictionary of lists."""
        result = dict()
        if not self: return result
        for key in self[0].keys():
            result[key] = self.column(key)
        return result
Convert list of dictionaries to dictionary of lists.
recipes/Python/161403_Functional_dictionary_list_types/recipe-161403.py