<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_data_rows(self, brains):
 """Returns a list of dictionaries representing the values of each brain """

        fields = self.get_field_names()
        return map(lambda brain: self.get_data_record(brain, fields), brains)