import csv


def get_indices(file):
    """Create dict of indices"""
    with open(file, 'rt') as fin:
        cin = csv.DictReader(fin, fieldnames=['index', 'age'])
        indices = [row for row in cin]
    return indices