import csv


def load_dicts_from_csv(path):
    """
    Load csv. Has to have the keys as first line.

    Returns:
        : List of dictionaries.
    """
    with open(path) as read_obj:
        return list(csv.DictReader(read_obj))