def load_datapoints(data_file):
    datapoints = []
    with open(data_file) as f:
        reader = csv.DictReader(f, delimiter='\t')
        for row in reader:
            if ('Sentiment' not in row):
                row['Sentiment'] = None
            dp = DataPoint(**row)
            datapoints.append(dp)
    return datapoints
def load_datapoints(data_file):
    datapoints = []
    with open(data_file) as f:
        reader = csv.DictReader(f, delimiter='\t')
        for row in reader:
            if ('Sentiment' not in row):
                row['Sentiment'] = None
            dp = DataPoint(**row)
            datapoints.append(dp)
    return datapoints