def read_csv(file_name='data.csv'):
    with open(file_name) as f:
        reader = csv.DictReader(f)
        return [row for row in reader]
Returns a list of dicts from a csv file.
dataset/ETHPy150Open manahl/PythonTrainingExercises/Beginers/stdlib/csv/solution.py/read_csv