schema should be OrderedDict and 'total_cost' column should be at the end (convention).