https://pastein.ru/t/sY

  скопируйте уникальную ссылку для отправки


def read_csv_to_map(map_data, path):
    with open(path, newline='', encoding='utf-8') as csvfile:
        reader = DictReader(csvfile, delimiter=';')
        for row in reader:
            map_data[(int(row['id']),
                      int(mktime(strptime(row['date'], '%d.%m.%Y'))))] =
                (float(row['lat']), float(row['long']))