import csv


def load_from_csv(filepath):
    """Loads a .csv file as a list of dictionaries

    :return: a list of dictionaries (one per row)

    :Example:

    >>> print(load_from_csv('data.csv')[0])
    {'id': '0', 'score': 0.5}
    """

    with open(filepath, mode='r') as f:
        csv_reader = csv.DictReader(f, restval='', dialect='unix')
        return [row for row in csv_reader]