human
3. import data sets from csv files:

The datafield decorator, wraps complex parsers
 Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
from dstruct import DataStructFromCSV, datafield

class AverageUserFromCSV(DataStructFromCSV):

    @datafield(path=None)
    def age(self, data):
        total = 0
        for name in data:
            total += int(data[name]['Age'])
        return round(float(total)/len(data), 1)
    
    @datafield(path=None)
    def weight(self, data):
        total = 0
        for name in data:
            total += int(data[name]['Weight'])
        return round(float(total)/len(data), 1)

AverageUserFromCSV('data_files/wide.csv')